projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
825c540
)
* system.h (strsignal): Also declare if no declaration found.
author
David Edelsohn
<edelsohn@gnu.org>
Mon, 20 Jan 2003 03:04:10 +0000
(
03:04
+0000)
committer
David Edelsohn
<dje@gcc.gnu.org>
Mon, 20 Jan 2003 03:04:10 +0000
(22:04 -0500)
From-SVN: r61490
gcc/ChangeLog
patch
|
blob
|
history
gcc/system.h
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 3655168976ad302cbab8495e22f327d2f5dc9ddb..60079157d09c8f4cc5a93acb614a74f95e7d9e47 100644
(file)
--- 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 a7f0bf271bfe435135a8326b8646bbe84cbc0a49..9454067ee933babd2c6cfe32b95efa68ca946e91 100644
(file)
--- 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. */
-#if
ndef HAVE
_STRSIGNAL
+#if
!defined (HAVE_STRSIGNAL) || !HAVE_DECL
_STRSIGNAL
# ifndef strsignal
extern const char *strsignal PARAMS ((int));
# endif