Home | History | Annotate | Line # | Download | only in gen
siglist.c revision 1.5
      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