2
0
mirror of https://frontier.innolan.net/github/amigaos-cross-toolchain6.git synced 2024-10-19 10:29:55 +00:00

Silence compiler complaining about different types.

This commit is contained in:
Krystian Bacławski
2012-02-14 20:52:49 -08:00
parent 262e1b1d06
commit 884519ac54

View File

@ -0,0 +1,22 @@
--- binutils-2.9.1/libiberty/strerror.c 1998-05-01 08:47:54.000000000 -0700
+++ binutils-2.9.1/libiberty/strerror.c 2011-05-08 20:59:25.383808009 -0700
@@ -455,15 +455,17 @@
same name, it differs from other implementations in that it is dynamically
initialized rather than statically initialized. */
+#undef NEED_sys_errlist
+
#ifdef NEED_sys_errlist
static int sys_nerr;
-static const char **sys_errlist;
+static const char *sys_errlist[];
#else
extern int sys_nerr;
-extern char *sys_errlist[];
+//extern char *sys_errlist[];
#endif