delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/10/17:06:56

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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 <cgf AT cygnus DOT com>
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
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 <cgf AT cygnus DOT 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);

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019