xref: /netbsd-src/lib/libc/gen/siglist.c (revision c50384799aa7c8969c216b15ab2bc5c98ba3bd4c)
1 /*
2  * Written by J.T. Conklin, 10/06/94
3  * Public domain.
4  */
5 
6 #include <sys/cdefs.h>
7 
8 #ifdef __weak_reference
9 __weak_reference(__sys_siglist, sys_siglist);
10 #else
11 
12 /*
13  * Without weak references, we're forced to have to have two copies of
14  * the signal name string table in the library.  Fortunately, unless
15  * a program uses both sys_siglist[] and strsignal(), only one of the
16  * copies will be linked into the executable.
17  */
18 
19 #define __sys_siglist	sys_siglist
20 #include "_siglist.c"
21 #endif
22