diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-12-20 00:03:06 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-12-20 00:03:06 +0000 |
commit | 7ffd6c6f1701e2ef54f8fe5ded590160767b0c6a (patch) | |
tree | e13d4e822c006b24ae5f7be341688e3dbd3ccf82 /winsup | |
parent | b861c0a383acc8c92544a4156c9985c7c3b76c5d (diff) | |
download | cygnal-7ffd6c6f1701e2ef54f8fe5ded590160767b0c6a.tar.gz cygnal-7ffd6c6f1701e2ef54f8fe5ded590160767b0c6a.tar.bz2 cygnal-7ffd6c6f1701e2ef54f8fe5ded590160767b0c6a.zip |
* include/wchar.h (wcsdup): Correct prototype.
* include/string.h (wcsdup): Correct prototype.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/mingw/include/string.h | 3 | ||||
-rw-r--r-- | winsup/mingw/include/wchar.h | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 5ca5c556d..92b3dc6ee 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -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. diff --git a/winsup/mingw/include/string.h b/winsup/mingw/include/string.h index 44fff31ce..1047e5019 100644 --- a/winsup/mingw/include/string.h +++ b/winsup/mingw/include/string.h @@ -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*); diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 0314254b9..fd6af1299 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -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*); |