diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-06-16 20:29:47 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-06-16 20:29:47 +0000 |
commit | e98a943d44dc00ae792df2959fe9748066fe5725 (patch) | |
tree | 16a3bb40aa909958e6619b1ddd76915c8c8ffc32 /include/signal.h | |
parent | f1d65a96ffdec3446285231339a2fa0d541bacc9 (diff) |
Jim Ramsay writes:
<lack> 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.
<lack> I just replace the prototype for _sys_siglist with '#define _sys_siglist
sys_siglist' and it seemed to work.
Diffstat (limited to 'include/signal.h')
-rw-r--r-- | include/signal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <string.h>). */ -extern __const char *__const _sys_siglist[_NSIG]; +#define _sys_siglist sys_siglist extern __const char *__const sys_siglist[_NSIG]; #endif /* __UCLIBC_HAS_SYS_SIGLIST__ */ |