summaryrefslogtreecommitdiff
path: root/lib/libc/gen/_err.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/_err.c
initial import of NetBSD tree
Diffstat (limited to 'lib/libc/gen/_err.c')
-rw-r--r--lib/libc/gen/_err.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/libc/gen/_err.c b/lib/libc/gen/_err.c
new file mode 100644
index 00000000000..60f679dfa71
--- /dev/null
+++ b/lib/libc/gen/_err.c
@@ -0,0 +1,23 @@
+/*
+ * J.T. Conklin, December 12, 1994
+ * Public Domain
+ */
+
+#include <sys/cdefs.h>
+
+#ifdef __indr_reference
+__indr_reference(_err, err);
+#else
+
+#define _err err
+#define _errx errx
+#define _warn warn
+#define _warnx warnx
+#define _verr verr
+#define _verrx verrx
+#define _vwarn vwarn
+#define _vwarnx vwarnx
+#define rcsid _rcsid
+#include "err.c"
+
+#endif