* system.h (strsignal): Also declare if no declaration found.
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jan 2003 03:04:10 +0000 (03:04 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Jan 2003 03:04:10 +0000 (03:04 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61490 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/system.h

index 3655168..6007915 100644 (file)
@@ -2,6 +2,7 @@
 
        * collect2.c (ldgetname): Expand declaration to prototype.
        * read-rtl.c (atoll): Add prototype.
+       * system.h (strsignal): Also declare if no declaration found.
 
 2003-01-19  Alexandre Oliva  <aoliva@redhat.com>
 
index a7f0bf2..9454067 100644 (file)
@@ -321,7 +321,7 @@ extern PTR realloc PARAMS ((PTR, size_t));
 
 /* If the system doesn't provide strsignal, we get it defined in
    libiberty but no declaration is supplied.  */
-#ifndef HAVE_STRSIGNAL
+#if !defined (HAVE_STRSIGNAL) || !HAVE_DECL_STRSIGNAL
 # ifndef strsignal
 extern const char *strsignal PARAMS ((int));
 # endif