]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include <config.h> unconditionally
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 27 Mar 2024 22:37:08 +0000 (23:37 +0100)
committerfxlb <[email protected]>
Thu, 28 Mar 2024 05:34:34 +0000 (05:34 +0000)
Builds using Autotools or CMake generate config.h, thus remove the
'#ifdef HAVE_CONFIG_H'/'#endif'.

Remove also the 'add_definitions(-DHAVE_CONFIG_H)' in CMakeLists.txt.

191 files changed:
CMakeLists.txt
addrtoname.c
addrtostr.c
af.c
bpf_dump.c
checksum.c
cpack.c
gmpls.c
in_cksum.c
ipproto.c
l2vpn.c
missing/datalinks.c
missing/dlnames.c
missing/getservent.c
missing/strlcat.c
missing/strlcpy.c
missing/strsep.c
netdissect-alloc.c
netdissect.c
nlpid.c
ntp.c
oui.c
parsenfsfh.c
print-802_11.c
print-802_15_4.c
print-ah.c
print-ahcp.c
print-aodv.c
print-aoe.c
print-ap1394.c
print-arcnet.c
print-arista.c
print-arp.c
print-ascii.c
print-atalk.c
print-atm.c
print-babel.c
print-bcm-li.c
print-beep.c
print-bfd.c
print-bgp.c
print-bootp.c
print-brcmtag.c
print-bt.c
print-calm-fast.c
print-carp.c
print-cdp.c
print-cfm.c
print-chdlc.c
print-cip.c
print-cnfp.c
print-dccp.c
print-decnet.c
print-dhcp6.c
print-domain.c
print-dsa.c
print-dtp.c
print-dvmrp.c
print-eap.c
print-egp.c
print-eigrp.c
print-enc.c
print-erspan.c
print-esp.c
print-ether.c
print-fddi.c
print-forces.c
print-fr.c
print-frag6.c
print-ftp.c
print-geneve.c
print-geonet.c
print-gre.c
print-hncp.c
print-hsrp.c
print-http.c
print-icmp.c
print-icmp6.c
print-igmp.c
print-igrp.c
print-ip-demux.c
print-ip.c
print-ip6.c
print-ip6opts.c
print-ipcomp.c
print-ipfc.c
print-ipnet.c
print-ipoib.c
print-ipx.c
print-isakmp.c
print-isoclns.c
print-juniper.c
print-krb.c
print-l2tp.c
print-lane.c
print-ldp.c
print-lisp.c
print-llc.c
print-lldp.c
print-lmp.c
print-loopback.c
print-lspping.c
print-lwapp.c
print-lwres.c
print-m3ua.c
print-macsec.c
print-mobile.c
print-mobility.c
print-mpcp.c
print-mpls.c
print-mptcp.c
print-msdp.c
print-msnlb.c
print-nflog.c
print-nfs.c
print-nhrp.c
print-nsh.c
print-ntp.c
print-null.c
print-olsr.c
print-openflow-1.0.c
print-openflow-1.3.c
print-openflow.c
print-ospf.c
print-ospf6.c
print-otv.c
print-pflog.c
print-pgm.c
print-pim.c
print-pktap.c
print-ppi.c
print-ppp.c
print-pppoe.c
print-pptp.c
print-ptp.c
print-quic.c
print-radius.c
print-raw.c
print-realtek.c
print-resp.c
print-rip.c
print-ripng.c
print-rpki-rtr.c
print-rsvp.c
print-rt6.c
print-rtsp.c
print-rx.c
print-sctp.c
print-sflow.c
print-sip.c
print-sl.c
print-sll.c
print-slow.c
print-smb.c
print-smtp.c
print-snmp.c
print-someip.c
print-ssh.c
print-stp.c
print-sunatm.c
print-sunrpc.c
print-symantec.c
print-syslog.c
print-tcp.c
print-telnet.c
print-tftp.c
print-timed.c
print-tipc.c
print-token.c
print-udld.c
print-udp.c
print-unsupported.c
print-usb.c
print-vjc.c
print-vqp.c
print-vrrp.c
print-vsock.c
print-vtp.c
print-vxlan-gpe.c
print-vxlan.c
print-wb.c
print-whois.c
print-zep.c
print-zephyr.c
print-zeromq.c
print.c
signature.c
smbutil.c
strtoaddr.c
tcpdump.c
util-print.c

index a1013f4e9bdb8ce3dc70bcdc8c76abf40734a271..c331434724c97abc86dc191741146ddcd4395e20 100644 (file)
@@ -280,8 +280,6 @@ file(STRINGS ${tcpdump_SOURCE_DIR}/VERSION
 # Project settings
 ######################################
 
-add_definitions(-DHAVE_CONFIG_H)
-
 include_directories(
     ${CMAKE_CURRENT_BINARY_DIR}
     ${tcpdump_SOURCE_DIR}
index ee5f32158301ceb2a8bdc601945c3b71eb33e32b..2a66b50e7d87b7e378036bb3404bc1b9f2ce333b 100644 (file)
@@ -22,9 +22,7 @@
  *  and address to string conversion routines
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #ifdef HAVE_CASPER
 #include <libcasper.h>
index 5a08929a4c23dfd0b2bfca2bd9ec369626426343..1fd2cf0908bfd5b95a6e31586fc7b229710d6be3 100644 (file)
@@ -36,9 +36,7 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "addrtostr.h"
diff --git a/af.c b/af.c
index ff95dfda538ba1ec2451b3b40effb9d50c17c245..1f8a93a5c45d021a53d9f86865477775127cb138 100644 (file)
--- a/af.c
+++ b/af.c
@@ -15,9 +15,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index 1ac74a24127c85bf4f36b7af13920eb546d065f0..da50c3e2dd1c88b67c5ef57da539175a2e7b3b87 100644 (file)
@@ -19,9 +19,7 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b121dc2c9812dd4c0a50937815272a3d45a3a63c..4bb97f1e33f4f23b0c080e751be1dc9a8dc44d44 100644 (file)
@@ -17,9 +17,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
diff --git a/cpack.c b/cpack.c
index 9be7b47d85121f929fe339306e70be7b500fa681..84d24009faa707110abd805b1fcd0b8bd8743071 100644 (file)
--- a/cpack.c
+++ b/cpack.c
@@ -27,9 +27,7 @@
  * OF SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdlib.h>
 #include <string.h>
diff --git a/gmpls.c b/gmpls.c
index f0646f1bd22dbae9ca8cac7a921748ab73a89823..1bccd8029893ebdddc62bdbd9d633195f8b4e81d 100644 (file)
--- a/gmpls.c
+++ b/gmpls.c
@@ -13,9 +13,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index eb7c634f0ab0e60f49bed330530cf762c55a2d71..46dfb958d0077f95384c7b0c3135a8879907ade7 100644 (file)
@@ -35,9 +35,7 @@
  *     @(#)in_cksum.c  8.1 (Berkeley) 6/10/93
  */
 
-#ifdef HAVE_CONFIG_H
 # include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a3b0714a5a3431c5858e4b45e19db2b089a8e156..c269058b230a003100c767fc086cdcd926f444c7 100644 (file)
--- a/ipproto.c
+++ b/ipproto.c
@@ -13,9 +13,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
diff --git a/l2vpn.c b/l2vpn.c
index 9111cf6d25d5707117b01d4569a5b6f9f16eca66..5e2e768f524f2804a69ed0e981d1996948b120d3 100644 (file)
--- a/l2vpn.c
+++ b/l2vpn.c
@@ -13,9 +13,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index 17f60bec5b5464502dcae3d771ab549b3085537e..8b458363c430fd04e76913fc6a767038f20fffcc 100644 (file)
@@ -31,9 +31,7 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <netdissect-stdinc.h>
 
index 03c2b38c1b7f5d1bcf98528be08f53a870c76ba4..87cfb382865d1e4a3396d5e4fbfbcb4253a14d6c 100644 (file)
@@ -31,9 +31,7 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <netdissect-stdinc.h>
 
index 39cee068a69bb6d1e00a72d2d9b6a0c3adde57b7..4da24800fd7d8353ca108a50afe7afdf63134aa3 100644 (file)
@@ -34,9 +34,7 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <netdissect-stdinc.h>
 #include <getservent.h>
index fab7d04f3e8ee03cb34587ca6c865fa13b600993..9b64465088c02ddee7eb317f76c44a6b1e233ae2 100644 (file)
@@ -28,9 +28,7 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <netdissect-stdinc.h>
 
index 9a0b6e6a54b7c8393b6ed3cf5983e5d483086708..00792bc1b9d520ac1f6ceee521ee7f2d9bd1c5fe 100644 (file)
@@ -28,9 +28,7 @@
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <netdissect-stdinc.h>
 
index 05f10bccff92d54fee0d7e1d6215ebb4394ba6d3..a07660c4bab249fc71314739211fb94e7941c067 100644 (file)
@@ -31,9 +31,7 @@
  * SUCH DAMAGE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <netdissect-stdinc.h>
 
index c625d34ec3b0fec5f62c9bc64074dbc03d69aac7..a73c77f805a284ec2091281ebdddb64817e49b84 100644 (file)
@@ -14,9 +14,7 @@
  * FOR A PARTICULAR PURPOSE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdlib.h>
 #include "netdissect-alloc.h"
index 93e633a6af93e093c7a2a0f19ac4993a77dd066e..e78ccbc72b529328c0252886d66e94990b9cf61b 100644 (file)
@@ -22,9 +22,7 @@
  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
diff --git a/nlpid.c b/nlpid.c
index 59f6e598aad56ed268ae8a6f9d3f30b8a4a1e26e..3f431e73d68af5a462d23d6fad3c059d0b50323c 100644 (file)
--- a/nlpid.c
+++ b/nlpid.c
@@ -13,9 +13,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
diff --git a/ntp.c b/ntp.c
index ec8f659a4eb020b6232458226268676f3582654c..967644e0e1b9c9158ec0a6a5cb082451db42cf2c 100644 (file)
--- a/ntp.c
+++ b/ntp.c
@@ -20,9 +20,7 @@
  *
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "ntp.h"
 
diff --git a/oui.c b/oui.c
index 25d08e213eceaca6e5abbd27276e45e05acba21e..9b9c71cafb20821b87014aff2fa148e3adeb0ba3 100644 (file)
--- a/oui.c
+++ b/oui.c
@@ -13,9 +13,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index f6e5ab2fdf35c7111c8097f92d77fc48b00df177..d9e7b6f61f028e97402b346e7f3d8ff64452dca8 100644 (file)
@@ -40,9 +40,7 @@
  * Western Research Laboratory
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index d6ae69cc3a98690905e3ffc3dd171163d9f99e18..6f3bbee8cd5f8a696c8b7dbb055e8ff77609f5b9 100644 (file)
@@ -22,9 +22,7 @@
 
 /* \summary: IEEE 802.11 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index c255212c58987ac6f9e0c128a00f3410f290af64..cddd9ed2e5fed6625074e20cd7ab270ff66dece8 100644 (file)
@@ -22,9 +22,7 @@
 
 /* \summary: IEEE 802.15.4 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a3d05544c2d786719dd95de40b982cc699f7b189..3b3a792133c238ad98993308c369b77c44c8701f 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: IPSEC Authentication Header printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index d57edda9e090f280c214de3a45e057d962461a7a..d2efc7f86bd80ee15a70e848b77a985c2143ed5b 100644 (file)
@@ -29,9 +29,7 @@
 
 /* Based on draft-chroboczek-ahcp-00 and source code of ahcpd-0.53 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b014c49cfab1b8c478d382b11f76d18dd18026e7..3914b148a1ac089cb44cf0d56bc376705c28194f 100644 (file)
@@ -33,9 +33,7 @@
 /* \summary: Ad hoc On-Demand Distance Vector (AODV) Routing printer */
 /* specification: RFC 3561 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 29a0c59f9dc0f9a83753d8e9d42a0675b74809c7..0759ef38ef6cbad48cad11723b81ac784c8b9407 100644 (file)
@@ -31,9 +31,7 @@
  * https://web.archive.org/web/20161025044402/http://brantleycoilecompany.com/AoEr11.pdf
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 0c95d5cbf96e593691fdb3b66de2b67dbe25d51f..c9a5e80c644a6bee0fe9275e1a05ef2fa17ebbe3 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Apple IP-over-IEEE 1394 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 5f6aaf9c4308bdab67c744012475df55736202c8..d7fce713a52515803a048b01b06d65f9ec026a74 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: Attached Resource Computer NETwork (ARCNET) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 63bf9dd80d0d8b73321a7fab6ad46c7fe00f69e3..1f6b0263deddb2467357d78054e02538bc87849a 100644 (file)
@@ -2,9 +2,7 @@
 
 /* \summary: EtherType protocol for Arista Networks printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3f6c02615b414cd0e082ea58980454c39769b710..950c3b24ef18d37bad7e84ca75bd4b10ebad2ae3 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Address Resolution Protocol (ARP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4006c42ba5a62e21f2a10132bcf59076539cc2d5..f504d2f7f0cfb0305b3d9d51a07447f4a8694b38 100644 (file)
@@ -38,9 +38,7 @@
 
 /* \summary: ASCII packet dump printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f2235089f6ba63dc8d53275fa56f8040456a1d4f..cfe3a0c6b0c2836cfaa3116f5341c41283d0d660 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: AppleTalk printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 51c53b0fb09fd9d7495e536eab5a167b63ca6712..2dee4e65e97a92d010b5465bc86a18b3a066ba57 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Asynchronous Transfer Mode (ATM) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index fc1ed87e85919532bedc1136b43580a249e22ecc..c7593ce1f2d16ac2582950d5fec58aeee8d9f3e7 100644 (file)
@@ -37,9 +37,7 @@
  * draft-ietf-babel-source-specific-0
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 12b1ebbe20ccbb0b2934faacffab30fffb2d50dd..5ecb9ff94cad5dc90d738c23795c6bc782a866ed 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Broadcom LI Printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 76017eaf89dc38161cc6db7a5dd50f1ec7a2c7dd..ec5b2f19e25769c25f511d586f23fa17dbe14542 100644 (file)
@@ -11,9 +11,7 @@
 
 /* \summary: Blocks Extensible Exchange Protocol (BEEP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 2db14354c9a6f477ca21178a340c75a8daa23803..74ad2f7fa31f6e98882390451a5e5e9540668b68 100644 (file)
@@ -20,9 +20,7 @@
  * RFC 5880 for version 1, and RFC 5881
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 5fbaae0160675c6f8419c46488ec4f01fa7a9a9d..279da2887318b513389891c76f378c1323a6b885 100644 (file)
@@ -34,9 +34,7 @@
 
 /* specification: RFC 4271 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e06943cba913291aaf3545364a349611b71f558b..b4cefd3d9ef59fcb839d68fad11c8d620aa97b23 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: BOOTP and IPv4 DHCP printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4b26cf5b10292cc635ca6df086324bb02c9e8ac6..a3d15e28fd725d9b5fb5235cfdef5e688867127c 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Broadcom Ethernet switches tag (4 bytes) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 46aa2782aeb58be8a320b809e7408e83858a300e..290434b99cc0ab9a7e265459f9281bf245312aef 100644 (file)
@@ -19,9 +19,7 @@
 
 /* \summary: Bluetooth printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 1220d867ec602a91c059f7d08cc553cd0d37ce70..5b79337a62f222e380b9f7f3e04aea71404ccd36 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: Communication access for land mobiles (CALM) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index bef07d0b8ec0b6a8c6534e5f5ea65564344f0fc2..a073908d7600799b8a91b977ab2aa34503ca41d8 100644 (file)
@@ -36,9 +36,7 @@
 
 /* \summary: Common Address Redundancy Protocol (CARP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f8e9d7856a70a75aa56d469f713c50d15f593f33..0f36337bc03e3e5942c1007ae225bd2ff6dbc043 100644 (file)
@@ -26,9 +26,7 @@
 
 /* \summary: Cisco Discovery Protocol (CDP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index fcc2862f685fbec49b895b3377637d7fd370e1df..84fd5d9406b5168288849628af354c2666e0dbfa 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: IEEE 802.1ag Connectivity Fault Management (CFM) protocols printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 7450f357b3fe0dba714e4f376f64bdcf8e7122fb..68cdf6b0d4d1112b601b7d8aaefbda54191740a2 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Cisco HDLC printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b8ef77fd2fb3ab80407a5292fafdb42417f189e4..96587fe0ffc77f12b49f4d9b919048bcf2543f6c 100644 (file)
@@ -22,9 +22,7 @@
 
 /* \summary: Linux Classical IP over ATM printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <string.h>
 
index bbd2577cfa48a7c4b64db28f719fb82e4221eba4..d5fd9d67472684c6aaf2cb79d8aae21806477c0f 100644 (file)
@@ -40,9 +40,7 @@
  *    https://www.cisco.com/c/en/us/td/docs/net_mgmt/netflow_collection_engine/3-6/user/guide/format.html#wp1005892
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4c5d4e297743037969ecc3484e39deac4875ef53..2ae46a971e7e49ac15a1ef72fa066ad2cc2e841f 100644 (file)
@@ -11,9 +11,7 @@
 
 /* specification: RFC 4340 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 724822173d601c4b95464b048356e3b955682aa1..6c1f0e1fd0767b43327f561c4f54786718fafded 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: DECnet printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index bb739c71fb647e5f1f7f3244797a28ac7e2254ca..c91b0c56ad8cff9cde4a758eea444f839a70eb2e 100644 (file)
@@ -43,9 +43,7 @@
  *  RFC6334: Dual-Stack Lite option,
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index dcbd982cb4e3a520aca1bfd6e2f78512e1a2304f..7ac891f047161be1e525634676f4ab2d3b72e61d 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Domain Name System (DNS) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 1ed9acf672f5a730079519fc5475499c644d9498..42d59461fd4856cdf4dad7f46964985c0f129af9 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Marvell (Ethertype) Distributed Switch Architecture printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 0d0d7ef84518c628a34fe384f5781691d47644c7..9ff4c1c9a9ff5384836d3fb03b03e1bb777dccb4 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: Dynamic Trunking Protocol (DTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 85bbde658d87be377dd4a627ca0f378c64a70c34..293b689c0a8c2001c8c91b9dacb1180af7a6c7bc 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Distance Vector Multicast Routing Protocol printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f8e04d5896c386b0e0f8540391f4e3c6d42c2384..174f9c94704afb8ba67f3a5ddafa9b84e3b638bd 100644 (file)
@@ -20,9 +20,7 @@
 
 /* \summary: Extensible Authentication Protocol (EAP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 526e36dde6563167559d04dbfca20b06d5d85445..500964875687cf90c2d70bdcfa3cbf49b8a12d41 100644 (file)
@@ -22,9 +22,7 @@
 
 /* specification: RFC 827 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 647f353bd96f05bd36a94e7ced64e0d61ec4539d..47bbdce1c8872e9f63e78f0ca7571241dc1e62c4 100644 (file)
@@ -23,9 +23,7 @@
  * RFC 7868
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 8b148fabb486f6732a6c009a492cdcaaf44a641b..2fd957c2f1533d9c241fae369e2997ff64f15543 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: OpenBSD IPsec encapsulation BPF layer printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 1a1feb070e7d07d5b298a129851e75f49404a478..31795a5399f00b67a46292ed8ebfd40042c0f753 100644 (file)
@@ -32,9 +32,7 @@
  * Specifications: I-D draft-foschiano-erspan-03.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 2cee08893a12a4f9d180e270c23733d5efa03fe9..560d3b948b0ec210417b449f1c9403bde72758c2 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: IPSEC Encapsulating Security Payload (ESP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3f7fb5f699cfe7918025f017f51cd3ba12fef10f..fd41e9a7c8408f8d954b1338a663e18d52dd0784 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Ethernet printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4de986eea537109c3d9c0ebdc5f333d27a6ee9cb..ccdf588923658c0cede2352294a6bd48aa702a1c 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Fiber Distributed Data Interface (FDDI) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e8d3af3d4ffd21c69616893a55f8e40888171c91..197d6c65354704f984b728fb93143ed05d05448d 100644 (file)
@@ -18,9 +18,7 @@
 
 /* specification: RFC 5810 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 29d5ce0277219cced3ec17256ef5da2bb9d84f57..79e32ceb07a76dbe0d4a723758f2c35eddeaaf9a 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Frame Relay printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 0ac2fd7f4430d8bd966a6410ce33b8b3c380b653..fe2f7cfe1cb3cd04c6fe4fe2e23effb3d1acf144 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv6 fragmentation header printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b55937bba1bdbfb21fa1eeeac3f0b986653224ad..927618f577f26d0554e4375c47f250bb3b187a9d 100644 (file)
@@ -13,9 +13,7 @@
 
 /* \summary: File Transfer Protocol (FTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e148eb4aa866f7ffdb404e301493803807e1f94f..171b315484c852a35c22796972fa8d09b51f2ef0 100644 (file)
@@ -18,9 +18,7 @@
 /* \summary: Generic Network Virtualization Encapsulation (Geneve) printer */
 /* specification: RFC 8926 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 2f8046e6b965d9ca994ef28855b9a689a000c022..3f8ee07572d1b36da64199d1deb56840a49519f4 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: ISO CALM FAST and ETSI GeoNetworking printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 368bf8bb9e0666058d99f91717a81a6606012122..1935494ec7454470e01e8941ba2fff07275a3f73 100644 (file)
@@ -44,9 +44,7 @@
  * Virtual Subnet ID (VSID) and an 8-bit FlowID.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 37c13ec3469cc308d199e346d040a62b3d3952cf..2dc3147ac4a4c7801ef1906b995dd8ffff8954a1 100644 (file)
@@ -28,9 +28,7 @@
 
 /* \summary: Home Networking Control Protocol (HNCP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3027826847a9c84fe9a4df9e22c29ed2ba2b1b8e..f09f00a1c43b7fba5a346a816486f83d8e725101 100644 (file)
@@ -31,9 +31,7 @@
 
 /* specification: RFC 2281 for version 1 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 6845d0d3152827fa7aef020a4ca91b82dd2e1e35..cdb1fd71a21e18d463a8fe86d413afcd83c46f1f 100644 (file)
@@ -13,9 +13,7 @@
 
 /* \summary: Hypertext Transfer Protocol (HTTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b446075a6628b05596887d7d90219d8bd31e5445..05dc0555bee146b8c8aa90854ccd0938a66157f0 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Internet Control Message Protocol (ICMP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 11ccfdc574f34506d202734675a6d9bc7fca8878..86083f58a1b2a1531eeaf14b7c87891866a7de70 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv6 Internet Control Message Protocol (ICMPv6) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 914e3d6b342cf646897d499f521a161650875de1..68bb5d77cf8046a5ee10dde5694a52756d32fd64 100644 (file)
@@ -29,9 +29,7 @@
  *     draft-asaeda-mboned-mtrace-v2 for the mtrace message
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 23dc1f5688af4c48996ecefededbfdf408154210..26259b46d7b167a5ca0bcdd591e26556c211563a 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: Interior Gateway Routing Protocol (IGRP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 8dc7e1ca17d7ae3b6583c268b92b198f9f56ad90..50693569819ebb2fa7e810b6ae379b47df3b5870 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv4/IPv6 payload printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f04353d312eb828c65ac9c33081e77111587360a..5edc62215e2751d4d5f4dfb65b517f6faaf191c0 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IP printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index d32278df03aa0eb9f8cdcfb77b9102f652e87263..bc91cb878008ac657482f02fc87744a204cd1686 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv6 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a78c76daa27def5e848179534e9ba0b4bb883bea..cbd2d9667310343589121db9d9c67786aae0c59d 100644 (file)
@@ -29,9 +29,7 @@
 
 /* \summary: IPv6 header option printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index c0c184ddc83982c1b00a501a7361238b85ec395b..a88f679750621343fa716dfcaae59f55df1ca1f8 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IP Payload Compression Protocol (IPComp) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 7b203ee75d772426eb0e2c7a409cdcf9e4e9cc89..9aed44852dadada01925ecd8dbaebbf6b2df319a 100644 (file)
@@ -23,9 +23,7 @@
 
 /* specification: RFC 2625 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index eddcc1d7546fcd1113acfc3f2044af20739696d5..65f626163b6d1a4eb98bcae328c0f8ed8da7d0db 100644 (file)
@@ -1,8 +1,6 @@
 /* \summary: Solaris DLT_IPNET printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3d43123505a1151c1f430fe2b7396fc20d1f53ac..87ae97c8f51553847b9c228154d497647a7f39e4 100644 (file)
@@ -25,9 +25,7 @@
 
 /* \summary: IP-over-InfiniBand (IPoIB) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3ba107ce10d5a05f463bf990a896b3473d80ae64..e036c94002af13a085c48ee3b3d185e47a946459 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: Novell IPX printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a0066aa9409fac018e0b0eb9d521d871303c77bb..a3c06d1dd2504d698d5df0cae3a01e0a75ed946c 100644 (file)
@@ -32,9 +32,7 @@
 
 /* specification: RFC 2407, RFC 2408, RFC 5996 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 /* The functions from print-esp.c used in this file are only defined when both
  * OpenSSL and evp.h are detected. Employ the same preprocessor device here.
index d41cf41da4a2cb6e584451ae4110eec52166a2bd..89598b2d2d3182dc21af085ef5ac68c49744d4af 100644 (file)
@@ -34,9 +34,7 @@
  * IS-IS: ISO 10589
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3dda8598ccdb2abea3e6c386a8b1c288ada77073..522db7b0a88d7e23c5862683401ab2cc014bf927 100644 (file)
@@ -22,9 +22,7 @@
 __RCSID("NetBSD: print-juniper.c,v 1.3 2007/07/25 06:31:32 dogcow Exp ");
 #endif
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3072d66eb8c3d928c071b5088c7fb04f0d9701ab..69a0c1155e21819f9af17171e7998755068c19f3 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: Kerberos printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a5cc378b746a322d4a3b2e7f9459a5ab9ba2082a..42811c3557a8e100b588ceac3375d41685376943 100644 (file)
@@ -25,9 +25,7 @@
 
 /* specification: RFC 2661 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e4fb0027f0ba510847cd5b5e2af336d34d1b94dc..3836b066991e6331903c3497198395f23e09bef4 100644 (file)
@@ -22,9 +22,7 @@
 
 /* \summary: ATM LANE printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 60fe010533dedebdbf172b3b0909cc499e090afd..b16e989f2912d3c7347c3e84b97d4ae946ffde00 100644 (file)
@@ -16,9 +16,7 @@
 
 /* \summary: Label Distribution Protocol (LDP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index cb939c3a5996787327600566126250165f5b63a9..b995f2dfb8722cb8bf798b31be46b600a688bd6c 100644 (file)
@@ -94,9 +94,7 @@
  *  +-> +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index ae3ae4cf5c34517f4318141bef0fa1b7e9a2f848..ac6307a85210ebd0620ccb6af24fcf0a204dad0a 100644 (file)
@@ -24,9 +24,7 @@
 
 /* \summary: IEEE 802.2 LLC printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 33e9859c300be6867c23ae0b57cebc47fdaf9ce6..c12e37d037275431478c438845beec293bcb4425 100644 (file)
@@ -19,9 +19,7 @@
 
 /* \summary: IEEE 802.1ab Link Layer Discovery Protocol (LLDP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e02dc460cd18ae64adafde165c90f4f4e9631657..bfb0798e578797e8ea14435a304478b17d364764 100644 (file)
@@ -20,9 +20,7 @@
 /* specification: RFC 4204 */
 /* OIF UNI 1.0: https://web.archive.org/web/20160401194747/http://www.oiforum.com/public/documents/OIF-UNI-01.0.pdf */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b606de022c7f68ea543ca9fec7978f06fdd148e1..e545eb07613b88a537dc62f36335315ae504b879 100644 (file)
@@ -33,9 +33,7 @@
  * https://web.archive.org/web/20060919181108/http://www.mit.edu/people/jhawk/ctp.pdf
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f3183cb29299747fc2ceb6894227292133e8f303..837738a7ad55216810ca259066d29b2219220e9e 100644 (file)
@@ -17,9 +17,7 @@
 
 /* specification: RFC 4379 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index dbf24e154752753252868c3dd091abf11012c988..c8e6e94d2cf264b4740922fedfa47eda2cc6fc87 100644 (file)
@@ -19,9 +19,7 @@
 
 /* specification: RFC 5412 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f252275fc34ec8d54fbdcb7fbabbae3e3b11029e..29b49c6e7be843c24866b1a5ae6ccb9a1859ec21 100644 (file)
@@ -29,9 +29,7 @@
 
 /* \summary: BIND9 Lightweight Resolver protocol printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index ecf7db834385238019e90cfe81c1ceba2c92b085..403a417b0202f7a628f883de8a1e2441b1ddc689 100644 (file)
@@ -26,9 +26,7 @@
 
 /* RFC 4666 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 0be97846056262de4f32f8e5227e51ac3d03e45c..5fca392279451252eee6f2d43a73d672a03466cc 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: MACsec printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 28f3a48a8ad89ca1ceddbe9363ed08ba3fd9742c..0cba230ead39aaf6cb78e246f32972acc586f59a 100644 (file)
@@ -38,9 +38,7 @@
 
 /* \summary: IPv4 mobility printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 9decad75fe10484f326e04142cca5412e77c5b62..2f905f1ba9e9da899ec0374bc1ddf9987cd4ee1a 100644 (file)
@@ -30,9 +30,7 @@
 /* \summary: IPv6 mobility printer */
 /* RFC 3775 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4ba873bf3fcae1f402223d0a61dd04d40da3d83f..519f41b1112d4813f9e9b090a8833ee14575f951 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: IEEE 802.3ah Multi-Point Control Protocol (MPCP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index c9be496497626ebd5d15bd3a44032d7f8d32f69c..a80b722fa7e75c2db92805346f257cb65eb643a5 100644 (file)
@@ -28,9 +28,7 @@
 
 /* \summary: Multi-Protocol Label Switching (MPLS) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f9663cf6fe37bcb7b0fab54a0de2237ebb575ad2..70ff000a46596f136feb64faa772b0fed5fb078b 100644 (file)
@@ -36,9 +36,7 @@
 
 /* specification: RFC 6824 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 7845116bdc7e03001d64b4e07a1ba2ece4441c60..61a332d9d6bd691c0bf6183c5fd1107f2e8de64b 100644 (file)
@@ -18,9 +18,7 @@
 
 /* \summary: Multicast Source Discovery Protocol (MSDP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 8afaa7fe7107f2a88dc255ed5cc84ee7f7f57bb6..4e242df652cc81b97bdb252780d44ce2e65b82d2 100644 (file)
@@ -28,9 +28,7 @@
 
 /* \summary: MS Network Load Balancing's (NLB) heartbeat printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 8db5a7a2e89aedcfa169e14cfb49ce0ce440113d..0f5b8b8d6b11c72ab1518ac588069c1c0e810a1d 100644 (file)
@@ -27,9 +27,7 @@
 
 /* \summary: DLT_NFLOG printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index bbce49536f2acf653179c742e85bccc4d324c534..523a0716ec9b342a79319668a094614f767f70fc 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Network File System (NFS) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index fe034723e0008e40ff723f66c904f0ec738ed32d..cb04b619d62f89110f4e64f302843ac466b22bea 100644 (file)
@@ -23,9 +23,7 @@
  * I-D draft-detienne-dmvpn-01 (expired)
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3ea90fe677b91a526dd76d2f30b22aab0c7b70f2..bf86a8bae4b99997d6ed007bfd722335c15a8510 100644 (file)
@@ -25,9 +25,7 @@
 
 /* specification: RFC 8300 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index cab62d367f6ca18f68e835b81a237eaa958d327d..d1c0433cff5e73d555c3329eb238ce5b69e0ddaa 100644 (file)
@@ -32,9 +32,7 @@
  * RFC 5905 - NTPv4
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index bf03b422569d7de255f811c611969f7aad0da3fe..725d583939afbae752c0866cd96c6eed17e7460b 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: BSD loopback device printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 75acc8363a18371144b8060c669bdabce8e27832..5591c17a7193c5543ce520a4a4867275ff418e91 100644 (file)
@@ -21,9 +21,7 @@
 
 /* specification: RFC 3626 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 619d9692f662d74e8ea23ab7239a0e80cad806e1..7845a1c14ef7d24337dc85fab43dc4f7f2eb258b 100644 (file)
@@ -59,9 +59,7 @@
 
 /* \summary: OpenFlow protocol version 1.0 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 6dedf50b5ed90bae59e0ae8d8aa970f2e63824ba..11817d459da2ceddc19cddca37ab2af5ce469d8c 100644 (file)
@@ -33,9 +33,7 @@
 
 /* \summary: OpenFlow protocol version 1.3 printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 6024a215a133d593e22ba652575e6e6d0c8bb3e3..82eeda0c7267e98180bb5191deb6725964a28d00 100644 (file)
@@ -32,9 +32,7 @@
 
 /* \summary: version-independent OpenFlow printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 9bdc85841a8ebf6fef53661b1e9cd973d677013e..38f44745d770b6e731cd423e444ecf8265b4b5e6 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: Open Shortest Path First (OSPF) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 5eda0842e3e4f1587afd291a3e7657f4995abf1b..c6f5f67d9e370573a70f39c51a003882cc70ca0d 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: IPv6 Open Shortest Path First (OSPFv3) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a0fe9d0eb5b35eff708736871393efbaf482262f..1303740009a08c9933c8e5129eaf8c3f99dcfe6a 100644 (file)
@@ -17,9 +17,7 @@
 
 /* specification: draft-hasmit-otv-04 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 142777005bae171c2238f6de5247b49aae78e0de..67b30a2a94165f22f31ad1f02213e5936a6ab81d 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: *BSD/Darwin packet filter log file printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e37d3fdaf195e6fa1df9bb21b400a7b8fdadc986..d9c1e2c2fe143e2f91f4ab14b26c6d9bc5296502 100644 (file)
@@ -47,9 +47,7 @@
 
    */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 71d78e3dd0c16f1ca32f71789f46827ac4a43973..9241db3218cd63965656061e76749bf2de5791e6 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Protocol Independent Multicast (PIM) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 05ce5f997824d9a4ebaf331bce497e7e5dada345..d1c391d5ce1b21adef3bb814c671f2b3c1f48237 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Apple's DLT_PKTAP printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 774edfbaf8cefff90aa2b5574737eb4246344340..0795f276ac0a2f4df03b769620ee7d85fafa1d0a 100644 (file)
@@ -9,9 +9,7 @@
  * https://web.archive.org/web/20160328114748/http://www.cacetech.com/documents/PPI%20Header%20format%201.0.7.pdf
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 9aed23eb9a64985afec065aa35caf971fa721141..fbaa3258c74a0cef7e1fa3219d092450f6842489 100644 (file)
@@ -31,9 +31,7 @@
  * o BAP support
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 65518dff16d97adde75b1d7eb537d602354f7998..9649b15ffe3ae1cb651efa904bcdce9b193c24fd 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: PPP-over-Ethernet (PPPoE) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e8e328bbe3da6e84f34ab0bb443bc80de0a72d46..8666e505bbc71ab97adda9ef22bab64e1a3ebcca 100644 (file)
@@ -25,9 +25,7 @@
 
 /* specification: RFC 2637 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4c8fc963a84040c08adf68a6f1478c900e781125..f3f78c7861d2345ea1bf82df25777665af27d6f3 100644 (file)
@@ -17,9 +17,7 @@
 
 /* specification: https://standards.ieee.org/findstds/standard/1588-2008.html*/
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index acdbaf6afdf792ed3cfbe74c253c433124f25afa..5e50c369e89680a1975bb711e09f87e94899eb79 100644 (file)
@@ -23,9 +23,7 @@
 /* \summary: QUIC Protocol printer */
 /* specification: https://www.rfc-editor.org/rfc/rfc9000.txt */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect-alloc.h"
index fba8b8f44c84e9077b9e3918bdf37edbb81e7cc6..598db8e6dd02ebb3ce1a086c7319da9ea46446fa 100644 (file)
@@ -82,9 +82,7 @@
  * TODO: Among other things to print ok MacIntosh and Vendor values
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 9c6558fede0243a6a64a7c65e8f52bf93de245b4..d0edd2ece948069419a9b556dc7d4cc85c0e5776 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Raw IP printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 448deb6b1ebac2259adb25cfa508df6264a8a1dc..6b3b23971200f8cdd82ccec029ed944ecc5b4f1e 100644 (file)
@@ -25,9 +25,7 @@
 
 /* \summary: printer for various Realtek protocols */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 57e068dad89e3fba6d5eed3175f153f3a543834d..112152aa4074c3fcda6014ac3ff0480dc7a3926a 100644 (file)
@@ -29,9 +29,7 @@
 
 /* \summary: REdis Serialization Protocol (RESP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index 57e7e481121e051af0ac09b38aa228d4a8d9b1da..a399c610f546b52b2803eacbc114bc880a7e6a49 100644 (file)
@@ -23,9 +23,7 @@
 
 /* specification: RFC 1058, RFC 2453, RFC 4822 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 94ebf1bc4c4ec6c4a2b18f6f2cc6f54d02d78a99..c6955cb8ef145da036143d3d19db65085b1a43f5 100644 (file)
@@ -23,9 +23,7 @@
 
 /* specification: RFC 2080 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 574f3f055caf16be33cc470984fdfda4e3c411f0..ef758e256c61892daa69f1ff7d2a1b9049a46174 100644 (file)
@@ -19,9 +19,7 @@
 
 /* specification: RFC 6810 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 232f823d577a88c625182f250d4ac8ab36e8a39d..14c52f13b219fce32a9d3b02d8dd2ab89b1362e5 100644 (file)
@@ -19,9 +19,7 @@
 
 /* specification: RFC 2205 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 6110e2a01f2f1ce885cb23b83c0f1610b0a7b1bf..41a14e2e53311f999523a7934044721bffc4bdc2 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: IPv6 routing header printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 626a5ed9c89c1d5bf08a385bdde7427d46f541fd..f240a90f99c1bcee0f9918f48173829d2bcf285e 100644 (file)
@@ -13,9 +13,7 @@
 
 /* \summary: Real Time Streaming Protocol (RTSP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 5db9112585aaf68cc8fc6da70f93a74ed546c3a4..3641a4c79e53a0016c2d19d664a5fbc1eeb8211b 100644 (file)
@@ -35,9 +35,7 @@
  * Ken Hornstein <[email protected]>
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdio.h>
 #include <string.h>
index 3c52408d4178c4c6313469e0bdee06760a7119a5..e37f6a1b360aa3e65ce3257fb6e716d340d3d355 100644 (file)
@@ -35,9 +35,7 @@
 
 /* \summary: Stream Control Transmission Protocol (SCTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 3934cd9a4c8d88e6c295626ff579cd062ae3c4ce..ca44421333a93b7e99255e12789efe17845478c4 100644 (file)
@@ -21,9 +21,7 @@
 
 /* specification: https://sflow.org/developers/specifications.php */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index bfbfddfd4749237d4156f1e12daa05d10e83e97f..9af728a3576f02c2282de3acdfc4a36b274a7458 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: Session Initiation Protocol (SIP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 88f9fb0291e10fe48b32cac3cfecd89097477cba..6aaa5b367ba511b359f578477ae6db3a2e632453 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Compressed Serial Line Internet Protocol printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index d624ba2346219e6b2bb73528faff096083cb91b3..8292388bb10494c3e9928e6d1d0700d2b9120094 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Linux cooked sockets capture printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #ifdef HAVE_NET_IF_H
 /*
index f2773401976fa076cfdf5e417675b4539301a19e..649e2a0fcb79cda19ce8e9de6834761e85043c02 100644 (file)
@@ -20,9 +20,7 @@
 
 /* \summary: IEEE "slow protocols" (802.3ad/802.3ah) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index fa7a2c024782d64ab23f34d2c075cfd494988d0a..46dd2ef37360ca7b26e372f5a5b58de1a621c49e 100644 (file)
@@ -8,9 +8,7 @@
 
 /* \summary: SMB/CIFS printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4acf87c962a60539ef273c0c4258dcc0f5237320..fba7f2371ba5e33422c3162f025bbbe3b5c8b23e 100644 (file)
@@ -13,9 +13,7 @@
 
 /* \summary: Simple Mail Transfer Protocol (SMTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 4958791393f45552c3dc7fb1f2008b9f69ceb48e..e1cc97711967a4cccf26e2aaa72fcad1108f6413 100644 (file)
@@ -58,9 +58,7 @@
 
 /* \summary: Simple Network Management Protocol (SNMP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index da20bdf58320c2d13b097a3ad5751f0b4b8a3ee5..d21219aeadfba0e87e6bf07fc92b51feb616e5d6 100644 (file)
@@ -15,9 +15,7 @@
 
 /* \summary: Autosar SOME/IP Protocol printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
index 5207c52ee2477eb43a7f282256eb362676708c20..f9dd419cb5aea96b2bb10d25f684ba86af488047 100644 (file)
@@ -13,9 +13,7 @@
 
 /* \summary: Secure Shell (SSH) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include "netdissect-ctype.h"
index bfaf37826500b7fe47d4cae30c95fe13b9f4cec3..7e928b33f3b12dd1406e43d974a1d747a232dcb6 100644 (file)
@@ -10,9 +10,7 @@
 
 /* \summary: IEEE 802.1d Spanning Tree Protocol (STP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 0fe5eee8e411b5f281cf1fc6baef6ae5176a1b03..97d592c7757d94eb6eeced37537c47bdb7bc3523 100644 (file)
@@ -32,9 +32,7 @@
 
 /* \summary: SunATM DLPI capture printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 7eeb42dcc243963ca1c839f1eec16fd61bc7ba5a..3fab5040d0e9806f83b24c946eccc10584b34e6d 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Sun Remote Procedure Call printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 /*
  * At least on HP-UX:
index 0d394e30f2ec8b79becd4b825c35154bcaffce85..3cbf221246e9fe90597d510cfe552ec18f3dbe6b 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Symantec Enterprise Firewall printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 095b715007a99a1697afccb71528016bfd99456b..396f07a4e7cbf8676b21772db235d4a5db6a1b19 100644 (file)
@@ -17,9 +17,7 @@
 /* \summary: Syslog protocol printer */
 /* specification: RFC 3164 (not RFC 5424) */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index dacdd8054e7d49430b5bc153723f15a7636fe46c..161f17e726346bc48095e86d136c201347d519d7 100644 (file)
@@ -30,9 +30,7 @@
 __RCSID("$NetBSD: print-tcp.c,v 1.8 2007/07/24 11:53:48 drochner Exp $");
 #endif
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 1dc6f1c5d0d1e9fe4802cd2c74763de7e9b5c9df..97be4b916071f6a95102ef715949ec58b2216b08 100644 (file)
@@ -47,9 +47,7 @@
 
 /* \summary: Telnet option printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 39fc6964b8a26eac38b2a155ce892d0127a0de25..ec64a5c9dfa97b7c99ede676beafe926cb0c44aa 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Trivial File Transfer Protocol (TFTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index ebd0ac8adca69bc247cf385e4d1e41d1bf144e00..6733ef1beef392a7fdfb0a2b71f214361512ac0e 100644 (file)
@@ -23,9 +23,7 @@
 
 /* specification: https://docs.freebsd.org/44doc/smm/12.timed/paper.pdf */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index dea0581435b1d70a0c1d15aabd3aafc1c7a71b68..ec5f1a542c7b907cc4a2ed28ecdfc83702979a86 100644 (file)
@@ -27,9 +27,7 @@
  *     https://web.archive.org/web/20161025110514/http://tipc.sourceforge.net/doc/tipc_message_formats.html
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index a46003091bd786096e37452fa95e8130c97e2e08..74355ffd9ab9955e01f62a2119378d4922f95c02 100644 (file)
@@ -26,9 +26,7 @@
 
 /* \summary: Token Ring printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 40dc03697b1df80b22bf23d027bb502fa1458675..2ebb15558a5f4a15243b74c654fa49926bfffe13 100644 (file)
@@ -19,9 +19,7 @@
 
 /* specification: RFC 5171 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index e589b136a751d27b460c9d20205dce074a8d2161..982ddb9291f62d6d81f4075d60089c8b251b11c0 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: UDP printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 009cf6f9b9ce358579c176c9b55da4e67745f449..2dbab773720d3f4b6cf79a70919155dc547dfbb1 100644 (file)
@@ -16,9 +16,7 @@
 
 /* \summary: unsupported link-layer protocols printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 88e178e588a875d05c6d686db1a619e7332504e0..98bd91b20fb3f633d6f5e437067683c6c8a16738 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: USB printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 830330717ea441625c5359e1bf40571c2514a2f3..48a36f10ad88fff5a0f1f85c5429a77ba39a9baf 100644 (file)
@@ -23,9 +23,7 @@
 
 /* specification: RFC 1144 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index bd7445a58e7409bd5f098625eec89dde8b276f2d..dca3c1e61d2239d277012810880d9d382625120d 100644 (file)
@@ -17,9 +17,7 @@
 
 /* \summary: Cisco VLAN Query Protocol (VQP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 7ac595561b564bd69a0b76f210d5faaaf1f05584..bd0bb30dc4829483f8eb8e106cbba50b47eb4646 100644 (file)
@@ -25,9 +25,7 @@
 
 /* \summary: Virtual Router Redundancy Protocol (VRRP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 1fd09fce25c16193e6f639a2a07bb4ff6202c29a..d232a51b0c65ed05d341f599c76568f4b5d8247b 100644 (file)
@@ -23,9 +23,7 @@
 
 /* \summary: Linux vsock printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include <stddef.h>
index cfb62dac98ccd023423ebad697714d023d0b780f..82dfe2b3234463b2093871af2b7325465636efa6 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: Cisco VLAN Trunking Protocol (VTP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b7676327635f11eba51a860d65dd0742bbfd508e..2af9a65a043a4246e4cc5775b6ef4eb01e007e4f 100644 (file)
@@ -25,9 +25,7 @@
 
 /* specification: draft-ietf-nvo3-vxlan-gpe-12 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index f7bbb4a2067ed17d6901dd68c303d1b085832674..44fe3367d9e22cee333a2af5fa1101ee2d6f8e27 100644 (file)
@@ -17,9 +17,7 @@
 
 /* specification: RFC 7348 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index dd3e21292d717819abfe8ad669fad1a4f323802e..08113f35bd3f5b58a78702d3de60a368c0452f05 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: White Board printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 30c254aafbe2d12120c4aac3f01a0369e89f7e0e..2111a56d2737fd8a9b9798843ea5948e54ef9aa5 100644 (file)
@@ -15,9 +15,7 @@
 
 /* RFC 3912 */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 2596320a5b219b9a387272afc51a76c46fba2c5b..c507e369d38b9f7de8a9f6708cc36d8a5fd778d7 100644 (file)
@@ -21,9 +21,7 @@
 
 /* \summary: ZigBee Encapsulation Protocol (ZEP) printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index 11e1e59316a419956f0ac8b4eff7954aac1226fd..796f4e93f79c8dbac4b51f8a350f66f1b6b75815 100644 (file)
@@ -22,9 +22,7 @@
 
 /* \summary: Zephyr printer */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index cdeecff8daba3c51753dc41e3adb4cf4da6481f6..820104758a2b27148c2bc6cfbdf259d26487dfc8 100644 (file)
@@ -28,9 +28,7 @@
 /* \summary: ZeroMQ Message Transport Protocol (ZMTP) printer */
 /* specification: https://rfc.zeromq.org/spec/13/ */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
diff --git a/print.c b/print.c
index f20633388b3d0cb0d1a975c60c35e08f7dadb13b..603969ffce44619cd71a9c361c1c0f068680fc1d 100644 (file)
--- a/print.c
+++ b/print.c
@@ -25,9 +25,7 @@
  *     Seth Webster <[email protected]>
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include <stdlib.h>
 #include <string.h>
index 77d6e81ac3ab2043d1d801ed031dbbcda45dd5fc..f10a90b94ee90cef0fd70671828396f8e248eb39 100644 (file)
@@ -15,9 +15,7 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index b9125162c9461de0768944d1a5b9680a24573424..7eb94faba40972e4c4e381c588a676d86d7fa3c8 100644 (file)
--- a/smbutil.c
+++ b/smbutil.c
@@ -6,9 +6,7 @@
  * or later
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 
index c6f79d9a6ec4475ecdf2847a6a6daecd81ef9d17..bf8a9d3d5250c1bc1b2346ce1928003a7b36fc65 100644 (file)
@@ -15,9 +15,7 @@
  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"
 #include <stddef.h>
index 0e6fd3bac7a941d4e08ebe21edc1857743129855..2447678f7ac97e0ed59d1783cb6c9b5f30f2a45f 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -33,9 +33,7 @@
  * combined efforts of Van, Steve McCanne and Craig Leres of LBL.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 /*
  * Some older versions of Mac OS X ship pcap.h from libpcap 0.6 with a
index 5fc48befe7f60a13f7e2081940c60b657c338477..3b633cd46faa42f99bf44cc30484891468ccb900 100644 (file)
@@ -35,9 +35,7 @@
  * FOR A PARTICULAR PURPOSE.
  */
 
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "netdissect-stdinc.h"