Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Mon, 10 Apr 2000 17:26:10 -0400 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: [PATCH] mingw string.h irregularity? Message-ID: <20000410172610.A11268@cygnus.com> Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.8i 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 * 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);