This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
[PATCH] mingw string.h irregularity?
- To: cygwin-developers at sourceware dot cygnus dot com
- Subject: [PATCH] mingw string.h irregularity?
- From: Chris Faylor <cgf at cygnus dot com>
- Date: Mon, 10 Apr 2000 17:26:10 -0400
- Reply-To: cygwin-developers at sourceware dot cygnus dot com
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);