From 23ee7c4463dbde7fe02a6fe23e5282c2baa8eb58 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 10 Apr 2000 23:00:27 +0000 Subject: [PATCH] * include/string.h: Use proper prototype for _strerror. --- winsup/mingw/ChangeLog | 4 ++++ winsup/mingw/include/string.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 1667c0047..5731ca57f 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +Mon Apr 10 17:24:28 2000 Christopher Faylor + + * include/string.h: Use proper prototype for _strerror. + 2000-03-30 Mumit Khan * Makefile.in (subdirs): Workaround for broken shells. diff --git a/winsup/mingw/include/string.h b/winsup/mingw/include/string.h index f6ea7aa11..322d6b626 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 (int); +char* _strerror (const char *); size_t strlen (const char*); char* strncat (char*, const char*, size_t); int strncmp (const char*, const char*, size_t);