* system.h (strsignal): Also declare if no declaration found.
authorDavid Edelsohn <edelsohn@gnu.org>
Mon, 20 Jan 2003 03:04:10 +0000 (03:04 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 20 Jan 2003 03:04:10 +0000 (22:04 -0500)
From-SVN: r61490

gcc/ChangeLog
gcc/system.h

index 3655168976ad302cbab8495e22f327d2f5dc9ddb..60079157d09c8f4cc5a93acb614a74f95e7d9e47 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 a7f0bf271bfe435135a8326b8646bbe84cbc0a49..9454067ee933babd2c6cfe32b95efa68ca946e91 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