summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/lookup.h')
-rw-r--r--libexec/bootpd/lookup.h15
1 files changed, 4 insertions, 11 deletions
diff --git a/libexec/bootpd/lookup.h b/libexec/bootpd/lookup.h
index 04805d8..4940f05 100644
--- a/libexec/bootpd/lookup.h
+++ b/libexec/bootpd/lookup.h
@@ -1,15 +1,8 @@
/* lookup.h */
+/* $FreeBSD$ */
#include "bptypes.h" /* for int32, u_int32 */
-#ifdef __STDC__
-#define P(args) args
-#else
-#define P(args) ()
-#endif
-
-extern u_char *lookup_hwa P((char *hostname, int htype));
-extern int lookup_ipa P((char *hostname, u_int32 *addr));
-extern int lookup_netmask P((u_int32 addr, u_int32 *mask));
-
-#undef P
+extern u_char *lookup_hwa(char *hostname, int htype);
+extern int lookup_ipa(char *hostname, u_int32 *addr);
+extern int lookup_netmask(u_int32 addr, u_int32 *mask);
OpenPOWER on IntegriCloud