From f74779bdab7723ea9e91e9bf547b37992b4081a1 Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Tue, 28 May 2002 18:39:53 +0000 Subject: [PATCH] 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 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 -#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 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 *);