diff options
Diffstat (limited to 'usr.sbin/tcpdump/util.c')
-rw-r--r-- | usr.sbin/tcpdump/util.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/util.c b/usr.sbin/tcpdump/util.c index 05d7faed2f1..d2883300108 100644 --- a/usr.sbin/tcpdump/util.c +++ b/usr.sbin/tcpdump/util.c @@ -21,7 +21,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/util.c,v 1.5 1996/12/12 16:22:20 bitblt Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/util.c,v 1.6 1997/07/25 20:12:28 mickey Exp $ (LBL)"; #endif #include <sys/types.h> @@ -36,7 +36,7 @@ static const char rcsid[] = #endif #include <pcap.h> #include <stdio.h> -#if __STDC__ +#ifdef __STDC__ #include <stdarg.h> #else #include <varargs.h> @@ -158,7 +158,7 @@ tok2str(register const struct tok *lp, register const char *fmt, /* VARARGS */ __dead void -#if __STDC__ +#ifdef __STDC__ error(const char *fmt, ...) #else error(fmt, va_alist) @@ -169,7 +169,7 @@ error(fmt, va_alist) va_list ap; (void)fprintf(stderr, "%s: ", program_name); -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); @@ -187,7 +187,7 @@ error(fmt, va_alist) /* VARARGS */ void -#if __STDC__ +#ifdef __STDC__ warning(const char *fmt, ...) #else warning(fmt, va_alist) @@ -198,7 +198,7 @@ warning(fmt, va_alist) va_list ap; (void)fprintf(stderr, "%s: WARNING: ", program_name); -#if __STDC__ +#ifdef __STDC__ va_start(ap, fmt); #else va_start(ap); |