summaryrefslogtreecommitdiff
path: root/lib/libc/gen/_sys_nerr.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_nerr.c
initial import of NetBSD tree
Diffstat (limited to 'lib/libc/gen/_sys_nerr.c')
-rw-r--r--lib/libc/gen/_sys_nerr.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libc/gen/_sys_nerr.c b/lib/libc/gen/_sys_nerr.c
new file mode 100644
index 00000000000..0f34fe21444
--- /dev/null
+++ b/lib/libc/gen/_sys_nerr.c
@@ -0,0 +1,11 @@
+/*
+ * Written by J.T. Conklin, December 12, 1994
+ * Public domain.
+ */
+
+#include <sys/cdefs.h>
+
+#ifdef __indr_reference
+__indr_reference(_sys_nerr, sys_nerr);
+__indr_reference(_sys_nerr, __sys_nerr); /* Backwards compat with v.12 */
+#endif