diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-08-15 09:59:14 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-08-18 13:12:45 +0000 |
commit | a913bdd4902f240eb1b4b9f0f0df0de323e4616f (patch) | |
tree | e4a0dcc8a18ce646dc0306148a95e7d58606d733 | |
parent | 005a49453b24afd50978dc39bb0e11040d025444 (diff) |
Fix warning: no previous prototype for ... [-Wmissing-prototypes]
Add static before function
Change-Id: I42c5be7a1436160bcb82d0cb4309959802b7b3cb
Reviewed-on: https://code.wireshark.org/review/3696
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-spdy.c | 2 | ||||
-rw-r--r-- | ui/tap_export_pdu.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-spdy.c b/epan/dissectors/packet-spdy.c index 4c9e6d0abc..f3eaebd686 100644 --- a/epan/dissectors/packet-spdy.c +++ b/epan/dissectors/packet-spdy.c @@ -1508,7 +1508,7 @@ static int dissect_spdy_window_update_payload( /* * Performs SPDY frame dissection. */ -int dissect_spdy_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) +static int dissect_spdy_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { guint8 control_bit; spdy_control_frame_info_t frame; diff --git a/ui/tap_export_pdu.c b/ui/tap_export_pdu.c index 2eac9ab0b9..d7e41d6839 100644 --- a/ui/tap_export_pdu.c +++ b/ui/tap_export_pdu.c @@ -39,7 +39,7 @@ #include "tap_export_pdu.h" /* Main entry point to the tap */ -int +static int export_pdu_packet(void *tapdata, packet_info *pinfo, epan_dissect_t *edt _U_, const void *data) { const exp_pdu_data_t *exp_pdu_data = (const exp_pdu_data_t *)data; |