diff options
-rw-r--r-- | winsup/mingw/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/mingw/include/string.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index fb2832c..a9eb2f0 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2002-09-18 Danny Smith <dannysmith@users.sourceforge.net> + + * include/string.h (_strerror): Move into #ifndef + __STRICT_ANSI__ block. + 2002-09-17 Danny Smith <dannysmith@users.sourceforge.net> * include/time.h (__need_NULL): Define before including diff --git a/winsup/mingw/include/string.h b/winsup/mingw/include/string.h index 2a767a0..3b299ae 100644 --- a/winsup/mingw/include/string.h +++ b/winsup/mingw/include/string.h @@ -61,7 +61,7 @@ int strcoll (const char*, const char*); /* Compare using locale */ char* strcpy (char*, const char*); size_t strcspn (const char*, const char*); char* strerror (int); /* NOTE: NOT an old name wrapper. */ -char* _strerror (const char *); + size_t strlen (const char*); char* strncat (char*, const char*, size_t); int strncmp (const char*, const char*, size_t); @@ -77,6 +77,7 @@ size_t strxfrm (char*, const char*, size_t); /* * Extra non-ANSI functions provided by the CRTDLL library */ +char* _strerror (const char *); void* _memccpy (void*, const void*, int, size_t); int _memicmp (const void*, const void*, size_t); char* _strdup (const char*); |