NetBSD/lib/libc/gen/_sys_siglist.c

33 lines
840 B
C
Raw Normal View History

/* $NetBSD: _sys_siglist.c,v 1.8 1998/12/06 07:05:48 jonathan Exp $ */
1998-01-09 06:15:09 +03:00
/*
* 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