diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-01-04 13:00:54 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-01-05 12:46:26 +0000 |
commit | 9a7318a184e25e08d1c8449e3f826e0a5c66ca3b (patch) | |
tree | 2413bcbe8eb630a6bfef0b5d6f2c31ae385eeb08 /plugins/wimax | |
parent | 42706734a362372e4c0c2e8885e024fe3d7dc3f2 (diff) | |
download | wireshark-9a7318a184e25e08d1c8449e3f826e0a5c66ca3b.tar.gz |
Wimax: fix no previous prototype for ... [-Wmissing-prototypes]
Change-Id: I1dac7d362bab680c313766de19d51132d1ce6dfa
Reviewed-on: https://code.wireshark.org/review/6298
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/wimax')
-rw-r--r-- | plugins/wimax/packet-wmx.c | 1 | ||||
-rw-r--r-- | plugins/wimax/wimax_utils.c | 2 | ||||
-rw-r--r-- | plugins/wimax/wimax_utils.h | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/plugins/wimax/packet-wmx.c b/plugins/wimax/packet-wmx.c index b0010405aa..e06d33131a 100644 --- a/plugins/wimax/packet-wmx.c +++ b/plugins/wimax/packet-wmx.c @@ -34,6 +34,7 @@ #include <epan/prefs.h> #include <epan/address.h> #include "wimax_tlv.h" +#include "wimax_utils.h" void proto_register_wimax(void); diff --git a/plugins/wimax/wimax_utils.c b/plugins/wimax/wimax_utils.c index 3c3300068c..4437820932 100644 --- a/plugins/wimax/wimax_utils.c +++ b/plugins/wimax/wimax_utils.c @@ -78,7 +78,7 @@ guint get_service_type( void ) return scheduling_service_type; } -void set_service_type( guint set_to ) +static void set_service_type( guint set_to ) { if( seen_a_service_type == 0 ){ scheduling_service_type = set_to; diff --git a/plugins/wimax/wimax_utils.h b/plugins/wimax/wimax_utils.h index 10528cf01c..56032e1d4d 100644 --- a/plugins/wimax/wimax_utils.h +++ b/plugins/wimax/wimax_utils.h @@ -29,6 +29,7 @@ #include <epan/packet.h> extern guint get_service_type(void); +extern gboolean is_down_link(packet_info *pinfo); extern void wimax_service_flow_encodings_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void wimax_convengence_service_parameter_encoding_rules_decoder(guint sfe_type, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); extern void wimax_error_parameter_set_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree); |