aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-12-11 21:00:06 +0100
committerAnders Broman <a.broman58@gmail.com>2016-12-11 23:02:13 +0000
commita494d1d51d9566dc12716086b61361d7ac6b6390 (patch)
tree6bb24c8077a0249c80dc11114765a3f10b15298c
parent035fbe21f9a3bc658f34ac65d9fd4862364cdb07 (diff)
smb/tftp: fix no previous prototype for ‘tftp/smb_eo_cleanup’ [-Wmissing-prototypes]
Change-Id: I22ce7c49eab9232d38ace51a39fee098786f981d Reviewed-on: https://code.wireshark.org/review/19206 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-smb.c2
-rw-r--r--epan/dissectors/packet-tftp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb.c b/epan/dissectors/packet-smb.c
index 5635dd49ba..2132139597 100644
--- a/epan/dissectors/packet-smb.c
+++ b/epan/dissectors/packet-smb.c
@@ -1362,7 +1362,7 @@ smb_eo_packet(void *tapdata, packet_info *pinfo, epan_dissect_t *edt _U_, const
/* This is the eo_reset_cb function that is used in the export_object module
to cleanup any previous private data of the export object functionality before perform
the eo_reset function or when the window closes */
-void
+static void
smb_eo_cleanup(void)
{
int i, last;
diff --git a/epan/dissectors/packet-tftp.c b/epan/dissectors/packet-tftp.c
index ca108b0f57..113e3d7edf 100644
--- a/epan/dissectors/packet-tftp.c
+++ b/epan/dissectors/packet-tftp.c
@@ -217,7 +217,7 @@ static void cleanup_tftp_eo(eo_info_dynamic_t *dynamic_info)
/* Callback for freeing up data supplied with taps. The taps themselves only have
packet scope, so only store/free dynamic memory pointers */
-void tftp_eo_cleanup(void)
+static void tftp_eo_cleanup(void)
{
/* Cleanup each entry in the global list */
GSList *dynamic_iterator;