diff options
| author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-20 03:04:10 +0000 |
|---|---|---|
| committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-20 03:04:10 +0000 |
| commit | 48cf6cb1420459140d6aff48561b7a2bec276ee9 (patch) | |
| tree | 189279f7ee0122e669a6f8b610a0f8be9b947829 | |
| parent | a92a1bb20903f5a6d9d1b6093e846a7f46202486 (diff) | |
| download | ppe42-gcc-48cf6cb1420459140d6aff48561b7a2bec276ee9.tar.gz ppe42-gcc-48cf6cb1420459140d6aff48561b7a2bec276ee9.zip | |
* system.h (strsignal): Also declare if no declaration found.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61490 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 3655168976a..60079157d09 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 a7f0bf271bf..9454067ee93 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 |

