diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2003-09-24 00:41:01 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2003-09-24 00:41:01 +0000 |
commit | 8852e9c5f1b1f1b50b4cec564b204658354fd82e (patch) | |
tree | f2a78766650611e4039440a8c9ac423c2e4855bb /winsup/mingw/include/string.h | |
parent | 92694c7a9685577d76c6e05e0e2feb327bee8d5a (diff) | |
download | cygnal-8852e9c5f1b1f1b50b4cec564b204658354fd82e.tar.gz cygnal-8852e9c5f1b1f1b50b4cec564b204658354fd82e.tar.bz2 cygnal-8852e9c5f1b1f1b50b4cec564b204658354fd82e.zip |
* include/_mingw.h (__CRT_INLINE): Define.
* include/ctype.h: Replace 'extern inline' with __CRT_INLINE,
throughout
* include/inttypes.h: Likewise.
* include/math.h: Likewise.
* include/stdio.h: Likewise.
* include/stdlib.h: Likewise.
* include/string.h: Likewise.
* include/wchar.h: Likewise.
* include/wctype.h: Likewise.
Diffstat (limited to 'winsup/mingw/include/string.h')
-rw-r--r-- | winsup/mingw/include/string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/mingw/include/string.h b/winsup/mingw/include/string.h index 9f6b2bfbf..afedab717 100644 --- a/winsup/mingw/include/string.h +++ b/winsup/mingw/include/string.h @@ -161,13 +161,13 @@ _CRTIMP int __cdecl memicmp (const void*, const void*, size_t); _CRTIMP char* __cdecl strdup (const char*); _CRTIMP int __cdecl strcmpi (const char*, const char*); _CRTIMP int __cdecl stricmp (const char*, const char*); -extern __inline__ int __cdecl +__CRT_INLINE int __cdecl strcasecmp (const char * __sz1, const char * __sz2) {return _stricmp (__sz1, __sz2);} _CRTIMP int __cdecl stricoll (const char*, const char*); _CRTIMP char* __cdecl strlwr (char*); _CRTIMP int __cdecl strnicmp (const char*, const char*, size_t); -extern __inline__ int __cdecl +__CRT_INLINE int __cdecl strncasecmp (const char * __sz1, const char * __sz2, size_t __sizeMaxCompare) {return _strnicmp (__sz1, __sz2, __sizeMaxCompare);} _CRTIMP char* __cdecl strnset (char*, int, size_t); @@ -179,7 +179,7 @@ _CRTIMP void __cdecl swab (const char*, char*, size_t); #endif /* _UWIN */ /* NOTE: There is no _wcscmpi, but this is for compatibility. */ -extern __inline__ int __cdecl +__CRT_INLINE int __cdecl wcscmpi (const wchar_t * __ws1, const wchar_t * __ws2) {return _wcsicmp (__ws1, __ws2);} _CRTIMP wchar_t* __cdecl wcsdup (wchar_t*); |