From da3e014260b84efa6a3b79039fa3927dc114884b Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 20 Jan 2003 03:04:10 +0000 Subject: [PATCH] * system.h (strsignal): Also declare if no declaration found. From-SVN: r61490 --- gcc/ChangeLog | 1 + gcc/system.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 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 -- 2.30.2