From e98a943d44dc00ae792df2959fe9748066fe5725 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 16 Jun 2005 20:29:47 +0000 Subject: Jim Ramsay writes: andersee: Yes. But why does it expose the prototype for _sys_siglist but NOT provide it in the library? It should either be put into the library or taken out of the header. I just replace the prototype for _sys_siglist with '#define _sys_siglist sys_siglist' and it seemed to work. --- include/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/signal.h') diff --git a/include/signal.h b/include/signal.h index 7793cdbe1..c22b4372c 100644 --- a/include/signal.h +++ b/include/signal.h @@ -276,7 +276,7 @@ extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val) #ifdef __UCLIBC_HAS_SYS_SIGLIST__ /* Names of the signals. This variable exists only for compatibility. Use `strsignal' instead (see ). */ -extern __const char *__const _sys_siglist[_NSIG]; +#define _sys_siglist sys_siglist extern __const char *__const sys_siglist[_NSIG]; #endif /* __UCLIBC_HAS_SYS_SIGLIST__ */ -- cgit v1.2.3