aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/system.h18
2 files changed, 12 insertions, 12 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 03fec70..35ee30d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * system.h (strsignal): Don't check HAVE_STRSIGNAL when
+ determining whether to provide a prototype. Remove the
+ sys_siglist clause in the conditional.
+
1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
* fold-const.c (operand_equal_p): Use memcmp to compare string
diff --git a/gcc/system.h b/gcc/system.h
index 0fa561a..d9ae9d3 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -397,19 +397,13 @@ extern int sys_nerr;
extern char *sys_errlist[];
#endif /* HAVE_STRERROR */
-#ifdef HAVE_STRSIGNAL
-# ifdef NEED_DECLARATION_STRSIGNAL
-# ifndef strsignal
-extern char * strsignal ();
-# endif
-# endif
-#else /* ! HAVE_STRSIGNAL */
-# ifndef SYS_SIGLIST_DECLARED
-# ifndef NO_SYS_SIGLIST
-extern char * sys_siglist[];
-# endif
+/* If the system doesn't provide strsignal, we get it defined in
+ libiberty but no declaration is supplied. */
+#ifdef NEED_DECLARATION_STRSIGNAL
+# ifndef strsignal
+extern const char *strsignal PARAMS ((int));
# endif
-#endif /* HAVE_STRSIGNAL */
+#endif
#ifdef HAVE_GETRLIMIT
# ifdef NEED_DECLARATION_GETRLIMIT