]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-802_11.c
Make roundup2() generally available.
[tcpdump] / print-802_11.c
index 7f6a2301f0e51188eb19487b06ac8430aa44040a..227e1bf37e7ee3a61d6b734712db57322aaa53d3 100644 (file)
@@ -2000,11 +2000,6 @@ ieee_802_11_hdr_print(netdissect_options *ndo,
        }
 }
 
-#ifndef roundup2
-#define        roundup2(x, y)  (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */
-#endif
-
-
 static u_int
 ieee802_11_print(netdissect_options *ndo,
                  const u_char *p, u_int length, u_int orig_caplen, int pad,