diff options
author | alfred <alfred@FreeBSD.org> | 2002-05-28 18:39:53 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2002-05-28 18:39:53 +0000 |
commit | 92330964c169e3f478c984247ff877110635cb59 (patch) | |
tree | 8a53a36507e322ebdf1e97964c8f823648671b1f /libexec | |
parent | 4b9492924e082d3e82e830cc37468fc3f55679eb (diff) | |
download | FreeBSD-src-92330964c169e3f478c984247ff877110635cb59.zip FreeBSD-src-92330964c169e3f478c984247ff877110635cb59.tar.gz |
Assume __STDC__, remove non-__STDC__ code. Remove private __P.
Diffstat (limited to 'libexec')
-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 *); |