56f21e4806
so that the warning is shown once at link time, not three times.
33 lines
840 B
C
33 lines
840 B
C
/* $NetBSD: _sys_siglist.c,v 1.8 1998/12/06 07:05:48 jonathan Exp $ */
|
|
|
|
/*
|
|
* Written by J.T. Conklin, December 12, 1994
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__warn_references(sys_siglist,
|
|
"warning: reference to compatibility sys_siglist[]; include <signal.h> or <unistd.h> for correct reference")
|
|
__warn_references(__sys_siglist,
|
|
"warning: reference to deprecated __sys_siglist[]; include <signal.h> or <unistd.h> and use sys_siglist")
|
|
|
|
#ifdef __indr_reference
|
|
__indr_reference(_sys_siglist, sys_siglist)
|
|
__indr_reference(_sys_siglist, __sys_siglist) /* Backwards compat with v.12 */
|
|
#else
|
|
|
|
#undef _sys_siglist
|
|
#undef rcsid
|
|
#define _sys_siglist sys_siglist
|
|
#define rcsid _rcsid
|
|
#include "siglist.c"
|
|
|
|
#undef _sys_siglist
|
|
#undef rcsid
|
|
#define _sys_siglist __sys_siglist
|
|
#define rcsid __rcsid
|
|
#include "siglist.c"
|
|
|
|
#endif
|