summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/include/string.h')
-rw-r--r--winsup/mingw/include/string.h3
1 files changed, 2 insertions, 1 deletions
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*);