Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-04-11 03:00:27 +0400
committerChristopher Faylor <me@cgf.cx>2000-04-11 03:00:27 +0400
commit23ee7c4463dbde7fe02a6fe23e5282c2baa8eb58 (patch)
treef0a8ca2e2e5181fa5ed39a813b0579a794cbee19 /winsup/mingw
parentba87a619efd35c5e6655a3b3c3939340a22ddf94 (diff)
* include/string.h: Use proper prototype for _strerror.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/string.h2
2 files changed, 5 insertions, 1 deletions
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 <cgf@cygnus.com>
+
+ * include/string.h: Use proper prototype for _strerror.
+
2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
* 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);