about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-18 19:46:18 +0000
committerRoland McGrath <roland@gnu.org>1995-10-18 19:46:18 +0000
commit580c1888bec85d6ec20b8c9d3b893b5397a71325 (patch)
tree8436e0086627f6510be71ca66b6d0aef3e55d4eb
parent4d049a8baacf9ede77b91cff4582798f7df350e8 (diff)
downloadglibc-580c1888bec85d6ec20b8c9d3b893b5397a71325.tar.gz
glibc-580c1888bec85d6ec20b8c9d3b893b5397a71325.tar.xz
glibc-580c1888bec85d6ec20b8c9d3b893b5397a71325.zip
* signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
	them.
-rw-r--r--ChangeLog3
-rw-r--r--signal/signal.h7
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e400d5c5cb..a57a5a6454 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Wed Oct 18 03:33:22 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+	* signal/signal.h [__USE_BSD] (_sys_siglist, sys_siglist): Declare
+	them.
+
 	* sysdeps/generic/_strerror.c: Declare _sys_errlist and _sys_nerr.
 
 	* hurd/hurdlookup.c (__hurd_file_name_lookup_retry): For magic
diff --git a/signal/signal.h b/signal/signal.h
index a6db005721..9d6c54bc44 100644
--- a/signal/signal.h
+++ b/signal/signal.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -178,6 +178,11 @@ extern int sigpending __P ((sigset_t *__set));
 
 #if	defined(_SIGNAL_H) && defined(__USE_BSD)
 
+/* Names of the signals.  This variable exists only for compatiblity.
+   Use `strsignal' instead (see <string.h>).  */
+extern __const char *__const _sys_siglist[NSIG];
+extern __const char *__const sys_siglist[NSIG];
+
 /* Structure passed to `sigvec'.  */
 struct sigvec
   {