summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-10-17 09:00:50 +0000
committerRoland McGrath <roland@gnu.org>1995-10-17 09:00:50 +0000
commitf2149f697a3a5339a30dd6931864a7f5f6904085 (patch)
treee656b966e3bb09ce75909281fa55e6aa10b134a7 /string
parentb3a59f408e7462fbd77289e8c3f50606044a585a (diff)
* hurd/hurd/signal.h: Declare hurd_preempt_signals and
hurd_unpreempt_signals. * stdio/stdio.h: Declare __snprintf and __vsnprintf.
Diffstat (limited to 'string')
-rw-r--r--string/strsignal.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/string/strsignal.c b/string/strsignal.c
index ccd2c0e82f..3a0c6b2e2f 100644
--- a/string/strsignal.c
+++ b/string/strsignal.c
@@ -26,7 +26,7 @@ Cambridge, MA 02139, USA. */
#define _sys_siglist sys_siglist
#endif
-/* Defined in , 1992siglist.c. */
+/* Defined in siglist.c. */
extern CONST char *CONST _sys_siglist[];
@@ -37,7 +37,6 @@ DEFUN(strsignal, (signum), int signum)
if (signum < 0 || signum > NSIG)
{
static char buf[512];
- static char fmt[] = ;
int len = __snprintf (buf, sizeof buf, _("Unknown signal %d"), signum);
if (len < 0)
return NULL;