diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 4ad7d5190..4ddc8e0a7 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -15,6 +15,7 @@ * include/stdio.h (_getws, _putws): Guard with #ifndef __STRICT_ANSI__. (_wfdopen, _wfopen, _wfreopen, _wfsopen, _wtmpnam, _wtempnam): Ditto. (_wrename, _wremove, _wperror, _wpopen): Ditto. + (_lock_file, _unlock_file): Declare. 2012-08-01 Earnie Boyd diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 27dae0bc6..60f540114 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -594,6 +594,8 @@ _CRTIMP wint_t __cdecl __MINGW_NOTHROW getwchar (void); _CRTIMP wint_t __cdecl __MINGW_NOTHROW putwc (wint_t, FILE*); _CRTIMP wint_t __cdecl __MINGW_NOTHROW putwchar (wint_t); #ifndef __STRICT_ANSI__ +_CRTIMP void __cdecl __MINGW_NOTHROW _lock_file(FILE*); +_CRTIMP void __cdecl __MINGW_NOTHROW _unlock_file(FILE*); _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _getws (wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW _putws (const wchar_t*); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wfdopen(int, const wchar_t *); @@ -606,7 +608,7 @@ _CRTIMP int __cdecl __MINGW_NOTHROW _wrename (const wchar_t*, const wchar_t*); _CRTIMP int __cdecl __MINGW_NOTHROW _wremove (const wchar_t*); _CRTIMP void __cdecl __MINGW_NOTHROW _wperror (const wchar_t*); _CRTIMP FILE* __cdecl __MINGW_NOTHROW _wpopen (const wchar_t*, const wchar_t*); -#endif /* __STRING_ANSI__ */ +#endif /* __STRICT_ANSI__ */ #endif /* __MSVCRT__ */ #ifndef __NO_ISOCEXT /* externs in libmingwex.a */