From 776044d5540355f809ee758580a3235d38084b12 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Thu, 19 Sep 2002 05:35:30 +0000 Subject: [PATCH] * include/string.h (_strerror): Move into #ifndef __STRICT_ANSI__ block. --- winsup/mingw/ChangeLog | 5 +++++ winsup/mingw/include/string.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index fb2832c8a..a9eb2f01c 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,8 @@ +2002-09-18 Danny Smith + + * include/string.h (_strerror): Move into #ifndef + __STRICT_ANSI__ block. + 2002-09-17 Danny Smith * include/time.h (__need_NULL): Define before including diff --git a/winsup/mingw/include/string.h b/winsup/mingw/include/string.h index 2a767a0b6..3b299ae22 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*);