summaryrefslogtreecommitdiffstats
path: root/libexec/bootpd/lookup.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-05-28 18:31:41 +0000
committeralfred <alfred@FreeBSD.org>2002-05-28 18:31:41 +0000
commitd91b7c2d0fac80c74a2783b84fdba5ae0b941b1c (patch)
tree742976ab3a4d7a3a0d4e1f5dbe4d502844b37e9c /libexec/bootpd/lookup.h
parent565689ac5bf6349e21b553f3e8f16d7daa1da57d (diff)
downloadFreeBSD-src-d91b7c2d0fac80c74a2783b84fdba5ae0b941b1c.zip
FreeBSD-src-d91b7c2d0fac80c74a2783b84fdba5ae0b941b1c.tar.gz
Assume __STDC__, remove non-__STDC__ code.
Reviewed by: md5
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