From cbf4bfcd5baf19c56832c3fe15c8195cccc46633 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 27 Feb 2007 07:40:12 +0000 Subject: [PATCH] 2007-02-27 Thorsten Dahlheimer * include/stdio.h (_unlink, unlink): Add prototypes. --- winsup/mingw/ChangeLog | 4 ++++ winsup/mingw/include/stdio.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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__ */ -- 2.43.5