diff options
-rw-r--r-- | libexec/bootpd/tools/bootpef/bootpef.c | 17 | ||||
-rw-r--r-- | libexec/bootpd/tools/bootptest/bootptest.h | 11 |
2 files changed, 4 insertions, 24 deletions
diff --git a/libexec/bootpd/tools/bootpef/bootpef.c b/libexec/bootpd/tools/bootpef/bootpef.c index 893efd87..04089c8 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 27f78ba..a1891fe 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 *); |