summaryrefslogtreecommitdiff
path: root/usr/src/head/resolv.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/head/resolv.h')
-rw-r--r--usr/src/head/resolv.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/usr/src/head/resolv.h b/usr/src/head/resolv.h
index 90149fe77d..2d3ceb69b2 100644
--- a/usr/src/head/resolv.h
+++ b/usr/src/head/resolv.h
@@ -1,4 +1,6 @@
/*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
@@ -130,15 +132,9 @@ void __h_errno_set(struct __res_state *res, int err);
#define _PATH_RESCONF "/etc/resolv.conf"
#endif
-#ifdef __STDC__
#ifndef __P
#define __P(x) x
#endif
-#else
-#ifndef __P
-#define __P(x) ()
-#endif
-#endif /* __STDC__ */
typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error }
res_sendhookact;