OSDN Git Service

* include/wchar.h (wcsdup): Correct prototype.
authordannysmith <dannysmith>
Mon, 20 Dec 2004 00:03:04 +0000 (00:03 +0000)
committerdannysmith <dannysmith>
Mon, 20 Dec 2004 00:03:04 +0000 (00:03 +0000)
* include/string.h (wcsdup): Correct prototype.

winsup/mingw/ChangeLog
winsup/mingw/include/string.h
winsup/mingw/include/wchar.h

index 5ca5c55..92b3dc6 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-20  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * include/wchar.h (wcsdup): Correct prototype.
+       * include/string.h (wcsdup): Correct prototype.
+
 2004-10-14  Danny Smith  <dannysmith@users.sourceforge.net>
 
        * include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
index 44fff31..1047e50 100644 (file)
@@ -164,10 +164,11 @@ _CRTIMP  wchar_t* __cdecl __wcserror(const wchar_t*);
 
 #ifndef        _NO_OLDNAMES
 /* NOTE: There is no _wcscmpi, but this is for compatibility. */
+int __cdecl wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2);
 __CRT_INLINE int __cdecl
 wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2)
   {return _wcsicmp (__ws1, __ws2);}
-_CRTIMP wchar_t* __cdecl wcsdup (wchar_t*);
+_CRTIMP wchar_t* __cdecl wcsdup (const wchar_t*);
 _CRTIMP int __cdecl    wcsicmp (const wchar_t*, const wchar_t*);
 _CRTIMP int __cdecl    wcsicoll (const wchar_t*, const wchar_t*);
 _CRTIMP wchar_t* __cdecl wcslwr (wchar_t*);
index 0314254..fd6af12 100644 (file)
@@ -238,7 +238,7 @@ _CRTIMP  wchar_t* __cdecl __wcserror(const wchar_t*);
 __CRT_INLINE int __cdecl
 wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2)
   {return _wcsicmp (__ws1, __ws2);}
-_CRTIMP wchar_t* __cdecl wcsdup (wchar_t*);
+_CRTIMP wchar_t* __cdecl wcsdup (const wchar_t*);
 _CRTIMP int __cdecl    wcsicmp (const wchar_t*, const wchar_t*);
 _CRTIMP int __cdecl    wcsicoll (const wchar_t*, const wchar_t*);
 _CRTIMP wchar_t* __cdecl wcslwr (wchar_t*);