From 92330964c169e3f478c984247ff877110635cb59 Mon Sep 17 00:00:00 2001 From: alfred Date: Tue, 28 May 2002 18:39:53 +0000 Subject: Assume __STDC__, remove non-__STDC__ code. Remove private __P. --- libexec/bootpd/tools/bootpef/bootpef.c | 17 ++--------------- 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 -#else -#include -#endif #include #include @@ -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 *); -- cgit v1.1