summaryrefslogtreecommitdiff
path: root/signame.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1993-08-25 21:46:19 +0000
committerRoland McGrath <roland@redhat.com>1993-08-25 21:46:19 +0000
commit0ef3708713d8390b78a0cd2d3aac6b8506a04f7c (patch)
treedeaed11bec1c421381b9c569443d0757d51b1993 /signame.c
parent2012e2877c7cc5f63940cdbe4959be51b6631d05 (diff)
downloadgunmake-0ef3708713d8390b78a0cd2d3aac6b8506a04f7c.tar.gz
*** empty log message ***
Diffstat (limited to 'signame.c')
-rw-r--r--signame.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/signame.c b/signame.c
index 72435c6..4f97420 100644
--- a/signame.c
+++ b/signame.c
@@ -45,7 +45,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
static const char undoc[] = "unknown signal";
const char *sys_siglist[NSIG];
-#endif /* !HAVE_SYS_SIGLIST */
+
+#else /* HAVE_SYS_SIGLIST. */
+
+#ifndef SYS_SIGLIST_DECLARED
+extern char *sys_siglist[];
+#endif /* Not SYS_SIGLIST_DECLARED. */
+
+#endif /* Not HAVE_SYS_SIGLIST. */
/* Table of abbreviations for signals. Note: A given number can
appear more than once with different abbreviations. */