NetBSD/lib/libc/gen/siglist.c

22 lines
491 B
C
Raw Normal View History

1993-03-21 12:45:37 +03:00
/*
* Written by J.T. Conklin, 10/06/94
* Public domain.
1993-03-21 12:45:37 +03:00
*/
#include <sys/cdefs.h>
1993-03-21 12:45:37 +03:00
#ifdef __weak_reference
__weak_reference(__sys_siglist, sys_siglist);
#else
1993-03-21 12:45:37 +03:00
/*
* Without weak references, we're forced to have to have two copies of
* the signal name string table in the library. Fortunately, unless
* a program uses both sys_siglist[] and strsignal(), only one of the
* copies will be linked into the executable.
*/
#define __sys_siglist sys_siglist
#include "_siglist.c"
#endif