From 7b517010e0b7c5585ea8678b7c3a7d05b3428320 Mon Sep 17 00:00:00 2001 From: assar Date: Sat, 1 Jul 2000 03:35:07 +0000 Subject: remove non-STDC code and malloc.h --- nametoaddr.c | 5 +---- pcap-pf.c | 5 +---- pcap-snit.c | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/nametoaddr.c b/nametoaddr.c index 8cc0120..89b3873 100644 --- a/nametoaddr.c +++ b/nametoaddr.c @@ -24,7 +24,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.52 2000-04-27 09:18:58 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/nametoaddr.c,v 1.53 2000-07-01 03:35:08 assar Exp $ (LBL)"; #endif #include @@ -32,11 +32,8 @@ static const char rcsid[] = #include #include -#if __STDC__ struct mbuf; struct rtentry; -#endif - #include #include #include diff --git a/pcap-pf.c b/pcap-pf.c index fe4504f..1333a13 100644 --- a/pcap-pf.c +++ b/pcap-pf.c @@ -24,7 +24,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.56 2000-04-27 14:24:13 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-pf.c,v 1.57 2000-07-01 03:35:08 assar Exp $ (LBL)"; #endif #include @@ -35,11 +35,8 @@ static const char rcsid[] = #include #include -#if __STDC__ struct mbuf; struct rtentry; -#endif - #include #include diff --git a/pcap-snit.c b/pcap-snit.c index c568e08..1601a9a 100644 --- a/pcap-snit.c +++ b/pcap-snit.c @@ -25,7 +25,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/libpcap/pcap-snit.c,v 1.48 2000-04-27 14:24:13 itojun Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-snit.c,v 1.49 2000-07-01 03:35:07 assar Exp $ (LBL)"; #endif #include @@ -56,9 +56,6 @@ static const char rcsid[] = #include #include -#ifdef HAVE_MALLOC_H -#include -#endif #include #include #include -- cgit v1.2.3