summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 18:39:53 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-05-28 18:39:53 +0000
commitf74779bdab7723ea9e91e9bf547b37992b4081a1 (patch)
tree8a53a36507e322ebdf1e97964c8f823648671b1f
parent91180daf65df4fdd1bb8b9f3b27f22937f1622a5 (diff)
Notes
-rw-r--r--libexec/bootpd/tools/bootpef/bootpef.c17
-rw-r--r--libexec/bootpd/tools/bootptest/bootptest.h11
2 files changed, 4 insertions, 24 deletions
diff --git a/libexec/bootpd/tools/bootpef/bootpef.c b/libexec/bootpd/tools/bootpef/bootpef.c
index 893efd87ea35..04089c87b560 100644
--- a/libexec/bootpd/tools/bootpef/bootpef.c
+++ b/libexec/bootpd/tools/bootpef/bootpef.c
@@ -37,11 +37,7 @@ SOFTWARE.
-#ifdef __STDC__
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <sys/types.h>
#include <sys/time.h>
@@ -89,17 +85,8 @@ SOFTWARE.
* Externals, forward declarations, and global variables
*/
-#ifdef __STDC__
-#define P(args) args
-#else
-#define P(args) ()
-#endif
-
-static void mktagfile P((struct host *));
-static void usage P((void));
-
-#undef P
-
+static void mktagfile(struct host *);
+static void usage(void);
/*
* General
diff --git a/libexec/bootpd/tools/bootptest/bootptest.h b/libexec/bootpd/tools/bootptest/bootptest.h
index 27f78ba963b7..a1891fe52556 100644
--- a/libexec/bootpd/tools/bootptest/bootptest.h
+++ b/libexec/bootpd/tools/bootptest/bootptest.h
@@ -1,4 +1,5 @@
/* bootptest.h */
+/* $FreeBSD$ */
/*
* Hacks for sharing print-bootp.c between tcpdump and bootptest.
*/
@@ -19,12 +20,4 @@ extern int vflag; /* verbose flag */
extern unsigned char *packetp;
extern unsigned char *snapend;
-#ifdef __STDC__
-#define P(args) args
-#else
-#define P(args) ()
-#endif
-
-extern char *ipaddr_string P((struct in_addr *));
-
-#undef P
+extern char *ipaddr_string(struct in_addr *);