From: Francois-Xavier Le Bail Date: Wed, 10 Jun 2015 19:37:24 +0000 (+0200) Subject: Get rid of macros already defined in netdissect.h X-Git-Tag: tcpdump-4.8.0~238 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/7e17343965b7275367a4f0ceb90969867f3f1410 Get rid of macros already defined in netdissect.h --- diff --git a/interface.h b/interface.h index 92343788..c1ccbe50 100644 --- a/interface.h +++ b/interface.h @@ -65,15 +65,6 @@ extern char *strdup(const char *); extern char *strsep(char **, const char *); #endif -#define ESRC(ep) ((ep)->ether_shost) -#define EDST(ep) ((ep)->ether_dhost) - -#ifndef NTOHL -#define NTOHL(x) (x) = ntohl(x) -#define NTOHS(x) (x) = ntohs(x) -#define HTONL(x) (x) = htonl(x) -#define HTONS(x) (x) = htons(x) -#endif #endif extern char *program_name; /* used to generate self-identifying messages */