aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2021-09-17 13:22:11 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-18 07:21:36 +0000
commitbe2469b91d1a15527630ae94f5bc39d177bc4802 (patch)
tree9bd7723d46b0799a8a4c9d4836695b183dae00b2 /epan
parentaa9d666acbc52f1edd6e205c6305010de77f26c4 (diff)
thrift: Fix Wmissing-protypes warning
packet-thrift.c:852:1: warning: no previous prototype for function 'dissect_thrift_t_field_header' [-Wmissing-prototypes]
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-thrift.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-thrift.c b/epan/dissectors/packet-thrift.c
index b41dd1a0e5..f3667dc3f8 100644
--- a/epan/dissectors/packet-thrift.c
+++ b/epan/dissectors/packet-thrift.c
@@ -848,7 +848,7 @@ dissect_thrift_t_stop(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int o
* THRIFT_REQUEST_REASSEMBLY (-1) in case reassembly is required, or
* THRIFT_SUBDISSECTOR_ERROR (-2) in case of error.
*/
-int
+static int
dissect_thrift_t_field_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, thrift_option_data_t *thrift_opt, thrift_type_enum_t expected, int field_id, proto_tree **header_tree)
{
thrift_field_header_t field_header;