diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 874bae3f7..5e8c29308 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2007-02-27 Thorsten Dahlheimer + + * include/stdio.h (_unlink, unlink): Add prototypes. + 2007-02-18 Aurimas Cernius * include/excpt.h: Replace "_try1" in comments with "__try1". diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index bc40f5823..23914a3ff 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -178,11 +178,13 @@ _CRTIMP char* __cdecl tmpnam (char*); #ifndef __STRICT_ANSI__ _CRTIMP char* __cdecl _tempnam (const char*, const char*); -_CRTIMP int __cdecl _rmtmp(void); +_CRTIMP int __cdecl _rmtmp(void); +_CRTIMP int __cdecl _unlink (const char*); #ifndef NO_OLDNAMES _CRTIMP char* __cdecl tempnam (const char*, const char*); -_CRTIMP int __cdecl rmtmp(void); +_CRTIMP int __cdecl rmtmp(void); +_CRTIMP int __cdecl unlink (const char*); #endif #endif /* __STRICT_ANSI__ */