]> The Tcpdump Group git mirrors - tcpdump/blobdiff - netdissect-stdinc.h
Remove no more used ND_TTEST() macro
[tcpdump] / netdissect-stdinc.h
index b214be5fba1a4f51e29aacab36d32330d7d5ccc7..c7c53db400286d48fee6544fe77f5d3594c0742c 100644 (file)
@@ -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