ports/devel/i386-rtems-gcc/files/patch-strerror.c
Akinori MUSHA 4ce5358291 Fix the build problem of *-rtems-gcc on CURRENT due to conflicting
declarations of sys_nerr, sys_errlist and sys_nsig.

Obtained from:	lang/gcc295
Submitted by:	bento
2002-12-16 13:38:27 +00:00

14 lines
317 B
C

--- gcc-2.95.3/libiberty/strerror.c.orig Fri May 15 16:42:41 1998
+++ gcc-2.95.3/libiberty/strerror.c Mon May 6 13:53:14 2002
@@ -461,9 +461,10 @@
static const char **sys_errlist;
#else
-
+/* sigh... why don't they just leave this to stdio.h...
extern int sys_nerr;
extern char *sys_errlist[];
+*/
#endif