diff options
author | David Edelsohn <edelsohn@gnu.org> | 2003-01-20 03:04:10 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2003-01-19 22:04:10 -0500 |
commit | da3e014260b84efa6a3b79039fa3927dc114884b (patch) | |
tree | 189279f7ee0122e669a6f8b610a0f8be9b947829 | |
parent | 825c54081640b6e91cca1f082a068d29d9da4a03 (diff) | |
download | gcc-da3e014260b84efa6a3b79039fa3927dc114884b.zip gcc-da3e014260b84efa6a3b79039fa3927dc114884b.tar.gz gcc-da3e014260b84efa6a3b79039fa3927dc114884b.tar.bz2 |
* system.h (strsignal): Also declare if no declaration found.
From-SVN: r61490
-rw-r--r-- | gcc/ChangeLog | 1 | ||||
-rw-r--r-- | gcc/system.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3655168..6007915 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/system.h b/gcc/system.h index a7f0bf2..9454067 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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 |