diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-03-02 17:37:02 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-03-03 01:38:10 +0000 |
commit | dc92e98db42c6ef55616940bc26cc989180fefdc (patch) | |
tree | b55f2160abd713a57bd26cb7028141cf9f662e88 /epan/dissectors/packet-gtpv2.c | |
parent | ed6554c20282a6f78640d8b94ee54a954147aa18 (diff) |
Define in one and only one C file, declare in a header file.
Presumably the intent is to have the two dissectors share the tables in
question; if so, it's best done by defining the tables in one and only
one C file and declaring it in a header file included by both C files -
that 1) ensures the declaration and definition stay in sync and 2) keeps
the OS X build from failing.
Change-Id: Id2e7e5b7270c7109ffb091b2e16a631b83dde212
Reviewed-on: https://code.wireshark.org/review/14309
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-gtpv2.c')
-rw-r--r-- | epan/dissectors/packet-gtpv2.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c index 9fb5efe098..fecb9c5c35 100644 --- a/epan/dissectors/packet-gtpv2.c +++ b/epan/dissectors/packet-gtpv2.c @@ -1031,11 +1031,6 @@ static const value_string gtpv2_element_type_vals[] = { }; static value_string_ext gtpv2_element_type_vals_ext = VALUE_STRING_EXT_INIT(gtpv2_element_type_vals); -/* Relation between frame -> session */ -GHashTable* session_table; -/* Relation between <teid,ip> -> frame */ -wmem_tree_t* frame_tree; - typedef struct _gtpv2_hdr { guint8 flags; /* GTP header flags */ guint8 message; /* Message type */ |