This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] mingw string.h irregularity?


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);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]