diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 05979a595..0ccf8d1a8 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,4 +1,9 @@ -2007-06-16 Danny Smith ' +2007-06-18 Danny Smith + + * include/stdio.h (vsnprintf): Remove inline definition. + Add prototype. + +2007-06-16 Danny Smith * CRTfmode.c: Nit-pick comment fix. @@ -10,7 +15,7 @@ * include/string.h (strcasecmp): Fix typo in declaration prototype. -2007-06-14 Danny Smith ' +2007-06-14 Danny Smith * include/io.h (lseek64) : Add prototype. diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 23914a3ff..fb6856f91 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -206,10 +206,9 @@ _CRTIMP int __cdecl vsprintf (char*, const char*, __VALIST); _CRTIMP int __cdecl _vsnprintf (char*, size_t, const char*, __VALIST); #ifndef __NO_ISOCEXT /* externs in libmingwex.a */ -int __cdecl snprintf(char* s, size_t n, const char* format, ...); -__CRT_INLINE int __cdecl -vsnprintf (char* s, size_t n, const char* format, __VALIST arg) - { return _vsnprintf ( s, n, format, arg); } +int __cdecl snprintf(char *, size_t, const char *, ...); +int __cdecl vsnprintf (char *, size_t, const char *, __VALIST); + int __cdecl vscanf (const char * __restrict__, __VALIST); int __cdecl vfscanf (FILE * __restrict__, const char * __restrict__, __VALIST);