Move repeating MIN/MAX macros into dropin.h.
[tinc] / src / net_packet.c
index 24ebdff..63809ae 100644 (file)
 #include "route.h"
 #include "utils.h"
 
-#ifndef MAX
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
-#endif
-
 /* The minimum size of a probe is 14 bytes, but since we normally use CBC mode
    encryption, we can add a few extra random bytes without increasing the
    resulting packet size. */