summaryrefslogtreecommitdiff
path: root/lib/libpcap/gencode.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:30:28 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-25 20:30:28 +0000
commit7baa7d06cf60a96d45c4a33ac4b83042a409e6f0 (patch)
tree535f30ade3133c1d8d84a06136dd0f216024ffb3 /lib/libpcap/gencode.c
parent1626c644fa840e7d0e3178a0c02abb959cbb2d39 (diff)
#if __STDC__ --> #ifdef __STDC__
Diffstat (limited to 'lib/libpcap/gencode.c')
-rw-r--r--lib/libpcap/gencode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libpcap/gencode.c b/lib/libpcap/gencode.c
index 2f3d1b225e6..068d5642105 100644
--- a/lib/libpcap/gencode.c
+++ b/lib/libpcap/gencode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gencode.c,v 1.5 1996/09/16 02:33:05 tholo Exp $ */
+/* $OpenBSD: gencode.c,v 1.6 1997/07/25 20:30:18 mickey Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -29,7 +29,7 @@ static char rcsid[] =
#include <sys/socket.h>
#include <sys/time.h>
-#if __STDC__
+#ifdef __STDC__
struct mbuf;
struct rtentry;
#endif
@@ -45,7 +45,7 @@ struct rtentry;
#include <pcap.h>
#include <pcap-namedb.h>
#include <setjmp.h>
-#if __STDC__
+#ifdef __STDC__
#include <stdarg.h>
#else
#include <varargs.h>
@@ -90,7 +90,7 @@ int pcap_fddipad;
/* VARARGS */
__dead void
-#if __STDC__
+#ifdef __STDC__
bpf_error(const char *fmt, ...)
#else
bpf_error(fmt, va_alist)
@@ -100,7 +100,7 @@ bpf_error(fmt, va_alist)
{
va_list ap;
-#if __STDC__
+#ifdef __STDC__
va_start(ap, fmt);
#else
va_start(ap);