[PATCH] mingw string.h irregularity?
Chris Faylor
cgf@cygnus.com
Mon Apr 10 15:06:00 GMT 2000
Microsoft's headers seem to agree with this change. Ok to check in,
Mumit? It's required for the new setup utility.
cgf
Mon Apr 10 17:24:28 2000 Christopher Faylor <cgf@cygnus.com>
* include/string.h: Use proper prototype for _strerror.
Index: string.h
===================================================================
RCS file: /cvs/src/src/winsup/mingw/include/string.h,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 string.h
--- string.h 2000/02/17 19:38:31 1.1.1.1
+++ string.h 2000/04/10 21:23:10
@@ -61,7 +61,7 @@ int strcoll (const char*, const char*);
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);
More information about the Cygwin-developers
mailing list