X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/9b939ac5a38713742ed8fdc5a44bbd11ee6b676b..a15e52bb2722f9c9719cd9909d70c03a10e170c4:/netdissect-stdinc.h diff --git a/netdissect-stdinc.h b/netdissect-stdinc.h index b214be5f..c7c53db4 100644 --- a/netdissect-stdinc.h +++ b/netdissect-stdinc.h @@ -335,8 +335,8 @@ typedef char* caddr_t; * an 80386, so, for example, it avoids the bswap instruction added in * the 80486. * - * (We don't use them on OS X; Apple provides their own, which *doesn't* - * avoid the bswap instruction, as OS X only supports machines that + * (We don't use them on macOS; Apple provides their own, which *doesn't* + * avoid the bswap instruction, as macOS only supports machines that * have it.) */ #if defined(__GNUC__) && defined(__i386__) && !defined(__APPLE__) && !defined(__ntohl) @@ -477,13 +477,6 @@ struct in6_addr { */ #include "funcattrs.h" -#ifndef min -#define min(a,b) ((a)>(b)?(b):(a)) -#endif -#ifndef max -#define max(a,b) ((b)>(a)?(b):(a)) -#endif - #ifdef __ATTRIBUTE___FALLTHROUGH_OK # define ND_FALL_THROUGH __attribute__ ((fallthrough)) #else