From: fenner Date: Tue, 14 Dec 1999 16:49:02 +0000 (+0000) Subject: Get rid of HAVE_FDDI cruft; FDDI is always included so the ifdef is extra. X-Git-Tag: tcpdump-3.5.1~465 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/7e6bad5cf5d0a16b028c82d884e30ae9c31e316c Get rid of HAVE_FDDI cruft; FDDI is always included so the ifdef is extra. --- diff --git a/Makefile.in b/Makefile.in index 2b4833be..12ff18e5 100644 --- a/Makefile.in +++ b/Makefile.in @@ -17,7 +17,7 @@ # WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF # MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. # -# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.217 1999-12-04 20:10:00 mcr Exp $ (LBL) +# @(#) $Header: /tcpdump/master/tcpdump/Makefile.in,v 1.218 1999-12-14 16:49:02 fenner Exp $ (LBL) # # Various configurable paths (remember to edit Makefile.in, not Makefile) @@ -43,7 +43,7 @@ CC = @CC@ PROG = tcpdump CCOPT = @V_CCOPT@ INCLS = -I. @V_INCLS@ -DEFS = @DEFS@ -DHAVE_FDDI +DEFS = @DEFS@ # Standard CFLAGS CFLAGS = $(CCOPT) $(DEFS) $(INCLS) diff --git a/print-fddi.c b/print-fddi.c index 30da1c26..858dfb5a 100644 --- a/print-fddi.c +++ b/print-fddi.c @@ -21,14 +21,13 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.39 1999-11-21 09:36:52 fenner Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-fddi.c,v 1.40 1999-12-14 16:49:02 fenner Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H #include "config.h" #endif -#ifdef HAVE_FDDI #include #include #include @@ -339,19 +338,3 @@ fddi_if_print(u_char *pcap, const struct pcap_pkthdr *h, out: putchar('\n'); } -#else -#include -#include - -#include - -#include "interface.h" -void -fddi_if_print(u_char *pcap, const struct pcap_pkthdr *h, - register const u_char *p) -{ - - error("not configured for fddi"); - /* NOTREACHED */ -} -#endif