summaryrefslogtreecommitdiff
path: root/usr.sbin/named/host/exit.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-03-12 10:42:55 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-03-12 10:42:55 +0000
commit6072bd74192e6df1e3ed3f3afe32edfe7d99d2cb (patch)
tree21877bf94332fd37f010aeb1c31f888b63bcd85a /usr.sbin/named/host/exit.h
parentf1d001e6fcd8bdb74d98ca1547b99958b9d90102 (diff)
BIND 4.9.5-P1.
libresolv and include are required until the new resolver gets integrated into libc.
Diffstat (limited to 'usr.sbin/named/host/exit.h')
-rw-r--r--usr.sbin/named/host/exit.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/named/host/exit.h b/usr.sbin/named/host/exit.h
index 3e630b1e977..f5fc7085782 100644
--- a/usr.sbin/named/host/exit.h
+++ b/usr.sbin/named/host/exit.h
@@ -1,13 +1,16 @@
+/* $OpenBSD: exit.h,v 1.2 1997/03/12 10:41:52 downsj Exp $ */
+
/*
** Various exit codes.
**
** They come from <sysexits.h>
** Defined here to avoid including /usr/ucbinclude on solaris 2.x
**
-** @(#)exit.h e07@nikhef.nl (Eric Wassenaar) 930903
+** @(#)exit.h e07@nikhef.nl (Eric Wassenaar) 961010
*/
-#define EX_OK 0 /* successful termination */
+#undef EX_OK /* defined in <unistd.h> on SVR4 */
+#define EX_SUCCESS 0 /* successful termination */
#define EX_USAGE 64 /* command line usage error */
#define EX_DATAERR 65 /* data format error */
#define EX_NOINPUT 66 /* cannot open input */