From 430e386b9e69bf3a71c0e2cc06b7094d53ab6501 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 20 Oct 2000 00:03:55 +0000 Subject: Strip all object files of all non global symbols and .note and .comment, saving a lot of space in the resultant binaries... -Erik --- libc/string/strsignal.c | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) (limited to 'libc/string/strsignal.c') diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c index e1f7ab129..ff4f69923 100644 --- a/libc/string/strsignal.c +++ b/libc/string/strsignal.c @@ -8,8 +8,40 @@ #include #include -extern __const char *__const _sys_siglist[_NSIG]; -extern __const char *__const sys_siglist[_NSIG]; +const char *const sys_siglist[NSIG] = { + "Unknown signal", + "Hangup", + "Interrupt", + "Quit", + "Illegal instruction", + "Trace/breakpoint trap", + "IOT trap/Abort", + "Bus error", + "Floating point exception", + "Killed", + "User defined signal 1", + "Segmentation fault", + "User defined signal 2", + "Broken pipe", + "Alarm clock", + "Terminated", + "Stack fault", + "Child exited", + "Continued", + "Stopped (signal)", + "Stopped", + "Stopped (tty input)", + "Stopped (tty output)", + "Possible I/O", + "CPU time limit exceeded", + "File size limit exceeded", + "Virtual time alarm", + "Profile signal", + "Window size changed", + "File lock lost", + "Power failure", + "Unused signal" +}; /********************** Function strsignal ************************************/ -- cgit v1.2.3