aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aodv.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2015-12-17 22:57:55 +0100
committerAnders Broman <a.broman58@gmail.com>2015-12-18 05:49:45 +0000
commite1ed7598ee2cc884d28a05533d9060b56ceb7976 (patch)
tree46d656b34951a7e8e27ffc1708f78c26f2c648c8 /epan/dissectors/packet-aodv.c
parenta0ad55db4247c31b3375f53ab4a8b0ecea473348 (diff)
Removed local definitions of offsetof().
The offsetof() macro is an ANSI C library feature. Change-Id: I2ac91b0b4c94c6f6baf14133b076fdc5ed2e182b Reviewed-on: https://code.wireshark.org/review/12707 Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-aodv.c')
-rw-r--r--epan/dissectors/packet-aodv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/dissectors/packet-aodv.c b/epan/dissectors/packet-aodv.c
index 61bc0feba4..28e8d2148c 100644
--- a/epan/dissectors/packet-aodv.c
+++ b/epan/dissectors/packet-aodv.c
@@ -29,10 +29,6 @@
#include <epan/to_str.h>
#include <epan/expert.h>
-#ifndef offsetof
-#define offsetof(type, member) ((size_t)(&((type *)0)->member))
-#endif
-
/*
* See
*