From: Gisle Vanem Date: Mon, 14 Sep 2015 19:07:44 +0000 (-0700) Subject: Get rid of some unneeded #defines and #includes. X-Git-Tag: tcpdump-4.8.0~146 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/a979288a11762528e777e1df70946f382c650d3c?hp=5c72fe1e4f07598229e05118b032df5f7b1bc7ce Get rid of some unneeded #defines and #includes. Those lines are not needed since "netdissect-stdinc.h" has: #include #include This will ensure is not included in a later . SIZE_BUF is not used anywhere AFAICS. --- diff --git a/tcpdump.c b/tcpdump.c index 58d38a28..4cf74849 100644 --- a/tcpdump.c +++ b/tcpdump.c @@ -57,12 +57,6 @@ The Regents of the University of California. All rights reserved.\n"; #include #ifdef _WIN32 -#ifndef _WINSOCKAPI_ -#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */ -#endif /* _WINSOCKAPI_ */ -#include -#include -extern int SIZE_BUF; #define off_t long #define uint UINT #endif /* _WIN32 */