summaryrefslogtreecommitdiff
path: root/lib/libc/gen/_sys_siglist.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /lib/libc/gen/_sys_siglist.c
initial import of NetBSD tree
Diffstat (limited to 'lib/libc/gen/_sys_siglist.c')
-rw-r--r--lib/libc/gen/_sys_siglist.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/libc/gen/_sys_siglist.c b/lib/libc/gen/_sys_siglist.c
new file mode 100644
index 00000000000..656bb2f5adf
--- /dev/null
+++ b/lib/libc/gen/_sys_siglist.c
@@ -0,0 +1,25 @@
+/*
+ * Written by J.T. Conklin, December 12, 1994
+ * Public domain.
+ */
+
+#include <sys/cdefs.h>
+
+#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