diff options
author | Matthieu Coudron <mattator@gmail.com> | 2015-11-10 12:30:25 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-11-11 00:22:37 +0000 |
commit | c2afc9edec79b247d02f42ba3c7cad2bc24b9f91 (patch) | |
tree | 29ee4f300505e68f3366c1e244226a167cddbaf5 /epan/dissectors/packet-lbtrm.c | |
parent | b9b74fcf57375209a8716434c5998168e44b57ca (diff) |
Change prototype of callbacks passed to wmem_tree_foreach so that they
accept the node key as a first parameter.
wmem_tree accepts all sort of keys (strings, integers, soon ranges),
thus it is of interest for various purposes (testing, greedy search) to
know the key of the node.
Change-Id: Ie748b917bef91f0b1ba8cce15bd1b471922641dc
Reviewed-on: https://code.wireshark.org/review/11683
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-lbtrm.c')
-rw-r--r-- | epan/dissectors/packet-lbtrm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lbtrm.c b/epan/dissectors/packet-lbtrm.c index 135301c4c8..ee2d1c2f03 100644 --- a/epan/dissectors/packet-lbtrm.c +++ b/epan/dissectors/packet-lbtrm.c @@ -1092,7 +1092,7 @@ typedef struct guint32 current_frame; } lbtrm_sqn_frame_list_callback_data_t; -static gboolean dissect_lbtrm_sqn_frame_list_callback(void * frame, void * user_data) +static gboolean dissect_lbtrm_sqn_frame_list_callback(const void *key _U_, void * frame, void * user_data) { lbtrm_sqn_frame_list_callback_data_t * cb_data = (lbtrm_sqn_frame_list_callback_data_t *) user_data; proto_item * transport_item = NULL; |