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