diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-09-19 05:35:30 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-09-19 05:35:30 +0000 |
commit | 776044d5540355f809ee758580a3235d38084b12 (patch) | |
tree | 607c5e01bbc88252d6fde714c569030273dafb93 | |
parent | 468b26c59151e973baf04ad24a4af83c20a34ae6 (diff) | |
download | newlib-776044d5540355f809ee758580a3235d38084b12.zip newlib-776044d5540355f809ee758580a3235d38084b12.tar.gz newlib-776044d5540355f809ee758580a3235d38084b12.tar.bz2 |
* include/string.h (_strerror): Move into #ifndef
__STRICT_ANSI__ block.
-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*); |