Commit da3e0142 by David Edelsohn Committed by David Edelsohn

* system.h (strsignal): Also declare if no declaration found.

From-SVN: r61490
parent 825c5408
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* collect2.c (ldgetname): Expand declaration to prototype. * collect2.c (ldgetname): Expand declaration to prototype.
* read-rtl.c (atoll): Add prototype. * read-rtl.c (atoll): Add prototype.
* system.h (strsignal): Also declare if no declaration found.
2003-01-19 Alexandre Oliva <aoliva@redhat.com> 2003-01-19 Alexandre Oliva <aoliva@redhat.com>
......
...@@ -321,7 +321,7 @@ extern PTR realloc PARAMS ((PTR, size_t)); ...@@ -321,7 +321,7 @@ extern PTR realloc PARAMS ((PTR, size_t));
/* If the system doesn't provide strsignal, we get it defined in /* If the system doesn't provide strsignal, we get it defined in
libiberty but no declaration is supplied. */ libiberty but no declaration is supplied. */
#ifndef HAVE_STRSIGNAL #if !defined (HAVE_STRSIGNAL) || !HAVE_DECL_STRSIGNAL
# ifndef strsignal # ifndef strsignal
extern const char *strsignal PARAMS ((int)); extern const char *strsignal PARAMS ((int));
# endif # endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment