]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Include <string.h> only if required.
authorDenis Ovsienko <[email protected]>
Sat, 17 Oct 2020 16:18:44 +0000 (17:18 +0100)
committerDenis Ovsienko <[email protected]>
Sat, 17 Oct 2020 16:55:37 +0000 (17:55 +0100)
18 files changed:
print-arista.c
print-arp.c
print-cnfp.c
print-dccp.c
print-decnet.c
print-dhcp6.c
print-egp.c
print-gre.c
print-ip-demux.c
print-ip.c
print-lisp.c
print-lwres.c
print-null.c
print-ptp.c
print-resp.c
print-rpki-rtr.c
print-rt6.c
print-tftp.c

index e4c761b3e0c6e9019d462f2ef29244203190c756..0d1d5d912cbf4d4e91354c105b8ce04f84a0cdd8 100644 (file)
@@ -8,8 +8,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "extract.h"
 #include "addrtoname.h"
index 7cbe781628a69fd355392ee6c805a14e5222870e..4855332bbae2b88a70b6ef49e4d7a70bb7351eaf 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #define ND_LONGJMP_FROM_TCHECK
 #include "netdissect.h"
 #include "addrtoname.h"
index 1a39c0db72a369dc09212c01b5b9322cb4991d2b..101148fa86c0c138ef33315ffc46ca0cde4e0d7c 100644 (file)
@@ -47,7 +47,6 @@
 #include "netdissect-stdinc.h"
 
 #include <stdio.h>
-#include <string.h>
 
 #include "netdissect.h"
 #include "addrtoname.h"
index 902ae429688e2e595c66097daaf2c91fdae0744a..44fa3704c55304fd35b796d83e8e0a1e79029e0b 100644 (file)
@@ -18,7 +18,6 @@
 #include "netdissect-stdinc.h"
 
 #include <stdio.h>
-#include <string.h>
 
 #include "netdissect.h"
 #include "addrtoname.h"
index 85ccf267892bd0e229fafa61c8c7842330f0667e..d39a768ab4eed2f290174f5c9ca2d83bc133e051 100644 (file)
@@ -29,7 +29,6 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <string.h>
 
 #define ND_LONGJMP_FROM_TCHECK
 #include "netdissect.h"
index 8b19d546207f8a47052b31c2cb79f69920932a1a..76a52f0af4174dfa817454e5f7346518f59e0587 100644 (file)
@@ -50,7 +50,6 @@
 #include "netdissect-stdinc.h"
 
 #include <stdio.h>
-#include <string.h>
 
 #include "netdissect.h"
 #include "addrtoname.h"
index d1693bf4a61afb6927f73c66b5876d1fe3268f2b..d20e5befe9691da0b3e9bea17ddb20a36a1dffb7 100644 (file)
@@ -26,8 +26,6 @@
 #include <config.h>
 #endif
 
-#include <string.h>
-
 #include "netdissect-stdinc.h"
 
 #include "netdissect.h"
index 729f2e82ba410a128ff8fe7acbafe582b9ee3ecb..b1a814298b5571cb3bc292cf47e2cec0a5cd169b 100644 (file)
@@ -39,8 +39,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "addrtostr.h"
 #include "extract.h"
index 8b53187cc29172e65daec8b91d00742e5e20d54d..b111c6deb7e894a9f5b1ce729955521ae72b8709 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
index e6e6d7568c9dd97ce75bfc597b0444a5c5ce6310..7cec64041dd84ff99a46a98fe355db1c2dfa58f3 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
index 920bfceb1ea1784a5ca7dbdcf2ca281158d10199..379bffbbbdf4cf0e9e9bfe699fa824e6cb561713 100644 (file)
 
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
-#include <string.h>
 #include <stdlib.h>
 
 #include "ip.h"
index 2518823bc3e1a3164e237c8e7734b3ecb17b4783..b3afcc77e6de8125c65d6a6b7d44f02da743af2d 100644 (file)
@@ -36,7 +36,6 @@
 #include "netdissect-stdinc.h"
 
 #include <stdio.h>
-#include <string.h>
 
 #define ND_LONGJMP_FROM_TCHECK
 #include "netdissect.h"
index 9f84ca391a3b8059221dc19af8e1d255e38132c3..a1b03f86aae62f912877bc9be149cef823b4dfb7 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #define ND_LONGJMP_FROM_TCHECK
 #include "netdissect.h"
 #include "extract.h"
index 848200fabd545ff96a02cd7bf123af4adf69eead..6f12b90afb54c39ccc3e7e87ca42691dfd3dd7d1 100644 (file)
@@ -24,7 +24,6 @@
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
 #include "extract.h"
-#include <string.h>
 
 /*
  * PTP header
index 7f4aaa8063e653af5529d25aa1582b4fc32ebefe..1b2a71e59acf1f7284896ee7081390665fe159fc 100644 (file)
@@ -36,7 +36,6 @@
 #include "netdissect-stdinc.h"
 #include "netdissect.h"
 #include <limits.h>
-#include <string.h>
 #include <stdlib.h>
 #include <errno.h>
 
index 518c5f8c1f2e7866691486bd3067bea652319487..962c0bfaab4b5e86db397bdeaf010986b027c8f7 100644 (file)
@@ -25,8 +25,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #define ND_LONGJMP_FROM_TCHECK
 #include "netdissect.h"
 #include "extract.h"
index e7d9fbde8ca259ac3cefd6237f865cd957e60291..fba6467069fba53af1151059f5ffb3086b0fc4bf 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "addrtoname.h"
 #include "extract.h"
index 854564c4f298c551195480050175e0f49d28b9a1..39fc6964b8a26eac38b2a155ce892d0127a0de25 100644 (file)
@@ -27,8 +27,6 @@
 
 #include "netdissect-stdinc.h"
 
-#include <string.h>
-
 #include "netdissect.h"
 #include "extract.h"