diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-17 22:57:55 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-18 05:49:45 +0000 |
commit | e1ed7598ee2cc884d28a05533d9060b56ceb7976 (patch) | |
tree | 46d656b34951a7e8e27ffc1708f78c26f2c648c8 /epan/dissectors/packet-ipsec.c | |
parent | a0ad55db4247c31b3375f53ab4a8b0ecea473348 (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-ipsec.c')
-rw-r--r-- | epan/dissectors/packet-ipsec.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-ipsec.c b/epan/dissectors/packet-ipsec.c index d0dba8a0c7..f6efbc0def 100644 --- a/epan/dissectors/packet-ipsec.c +++ b/epan/dissectors/packet-ipsec.c @@ -604,11 +604,6 @@ static gboolean g_esp_do_sequence_analysis = TRUE; /* Place AH payload in sub tree */ static gboolean g_ah_payload_in_subtree = FALSE; -#ifndef offsetof -#define offsetof(type, member) ((size_t)(&((type *)0)->member)) -#endif - - #ifdef HAVE_LIBGCRYPT |