From 06bdee1cf624225ab1d06a64687642a3de7f85b2 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sat, 30 Mar 2002 01:38:27 +0000 Subject: [PATCH] * include/stdio.h (_snwprintf): Correct spelling. (_vsnwprintf): Likewise. * include/wchar.h (_snwprintf): Correct spelling. (_vsnwprintf): Likewise. --- winsup/mingw/ChangeLog | 13 ++++++++++--- winsup/mingw/include/stdio.h | 4 ++-- winsup/mingw/include/wchar.h | 4 ++-- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 7377aba9b..caf7e140f 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,7 +1,14 @@ +2002-03-29 Danny Smith + + * include/stdio.h (_snwprintf): Correct spelling. + (_vsnwprintf): Likewise. + * include/wchar.h (_snwprintf): Correct spelling. + (_vsnwprintf): Likewise. + 2002-03-26 Danny Smith - * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL). - (wpopen): Add if !(__CRTDLL). + * moldname.def.in (__MSVCRT__): Replace with !(__CRTDLL__). + (wpopen): Add if !(__CRTDLL__). * Makefile.in (moldname-msvcrt.def rule): Use -C, not -c to preserve comments. (moldname-crtdll.def rule): Likewise. @@ -9,7 +16,7 @@ * moldname-crtdll.def: Regenerate. * include/stdio.h (wpopen):Use prototype, not a define. (_swnprintf): Add prototype. - (_vswnprintf}: Likewise. + (_vswnprintf): Likewise. Tidy up whitespace. * include/wchar.h (_swnprintf): Add prototype. (_vswnprintf): Likewise. diff --git a/winsup/mingw/include/stdio.h b/winsup/mingw/include/stdio.h index 8adbf5155..b978abf44 100644 --- a/winsup/mingw/include/stdio.h +++ b/winsup/mingw/include/stdio.h @@ -320,11 +320,11 @@ int fileno (FILE*); int fwprintf (FILE*, const wchar_t*, ...); int wprintf (const wchar_t*, ...); int swprintf (wchar_t*, const wchar_t*, ...); -int _swnprintf (wchar_t*, size_t, const wchar_t*, ...); +int _snwprintf (wchar_t*, size_t, const wchar_t*, ...); int vfwprintf (FILE*, const wchar_t*, va_list); int vwprintf (const wchar_t*, va_list); int vswprintf (wchar_t*, const wchar_t*, va_list); -int _vswnprintf (wchar_t*, size_t, const wchar_t*, va_list); +int _vsnwprintf (wchar_t*, size_t, const wchar_t*, va_list); int fwscanf (FILE*, const wchar_t*, ...); int wscanf (const wchar_t*, ...); int swscanf (const wchar_t*, const wchar_t*, ...); diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 68b714755..69cd3bacc 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -105,11 +105,11 @@ int _wfindnexti64 (long, struct _wfinddatai64_t*); int fwprintf (FILE*, const wchar_t*, ...); int wprintf (const wchar_t*, ...); int swprintf (wchar_t*, const wchar_t*, ...); -int _swnprintf (wchar_t*, size_t, const wchar_t*, ...); +int _snwprintf (wchar_t*, size_t, const wchar_t*, ...); int vfwprintf (FILE*, const wchar_t*, va_list); int vwprintf (const wchar_t*, va_list); int vswprintf (wchar_t*, const wchar_t*, va_list); -int _vswnprintf (wchar_t*, size_t, const wchar_t*, va_list); +int _vsnwprintf (wchar_t*, size_t, const wchar_t*, va_list); int fwscanf (FILE*, const wchar_t*, ...); int wscanf (const wchar_t*, ...); int swscanf (const wchar_t*, const wchar_t*, ...);