diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-06-22 11:18:20 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-06-22 11:18:20 -0700 |
commit | 6e80fcdbe9c41366df3fa244ffe4ac8cce2ab597 (patch) | |
tree | 16d63ed2c36994fb1fa567d63630c118a2abe57f /print-802_11.c | |
parent | fa48471019731521bed6e8386b419132b0943dc3 (diff) | |
download | tcpdump-6e80fcdbe9c41366df3fa244ffe4ac8cce2ab597.tar.gz |
Make roundup2() generally available.
Diffstat (limited to 'print-802_11.c')
-rw-r--r-- | print-802_11.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/print-802_11.c b/print-802_11.c index 7f6a2301..227e1bf3 100644 --- a/print-802_11.c +++ b/print-802_11.c @@ -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, |