Commit graph

13 commits

Author SHA1 Message Date
Joel Brobecker
1f99f6d068 strerror.c: Do not declare sys_nerr or sys_errlist if already macros
This fixes a MinGW warning in libiberty/strerror.c.

2015-01-19  Eli Zaretskii  <eliz@gnu.org>

        * strerror.c <sys_nerr, sys_errlist>: Declare only if they aren't
        macros.
2015-01-19 16:29:07 +01:00
DJ Delorie
49b1fae430 merge from gcc 2005-03-28 02:09:01 +00:00
DJ Delorie
53239e4104 merge from gcc 2004-04-14 03:12:51 +00:00
Daniel Jacobowitz
e3b1168e9d * strerror.c: Revert last change. Declare static sys_nerr
and sys_errlist using different names.
2003-10-02 19:07:17 +00:00
Daniel Jacobowitz
efb150d5d8 * strerror.c: Don't provide or reference sys_errlist if
strerror is available.
2003-10-01 23:11:45 +00:00
DJ Delorie
ba19b94f67 merge from gcc 2001-10-16 02:55:31 +00:00
DJ Delorie
99b5813985 merge from gcc 2001-10-07 22:42:23 +00:00
DJ Delorie
e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie
fa9f0e33b3 merge from gcc 2001-09-27 20:27:58 +00:00
DJ Delorie
3942352316 merge from gcc 2001-09-26 18:45:50 +00:00
DJ Delorie
11f6f21d46 merge from gcc 2001-06-12 13:16:43 +00:00
Zack Weinberg
5c82d20a26 * hashtab.c, partition.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
	* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
	* objalloc.c: Include config.h.  Include stdlib.h and don't
	declare malloc or free if HAVE_STDLIB_H.
	* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
	else declare malloc without prototype.  Include string.h if
	HAVE_STRING_H, else declare memset without prototype.  Don't
	include stddef.h.

	* sort.c: Bring over from GCC.
2000-05-29 20:45:32 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00