aboutsummaryrefslogtreecommitdiffstats
path: root/tfshark.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-12-12 02:19:55 +0000
committerGuy Harris <guy@alum.mit.edu>2015-12-12 04:12:33 +0000
commit80df76a28f077824d874102a171758757188fdf9 (patch)
treed4cc87f3ce3c2c91e74d3a1e7e164f5ebcb27839 /tfshark.c
parent5a26599a4bd3b5788b318abbeb0e7f140051ccf1 (diff)
tfshark: Declare 'local_wtap_read' static [-Wmissing-prototypes]
Change-Id: Iea791f656415e45fe1edfdd5179dbd277d69dac9 Reviewed-on: https://code.wireshark.org/review/12554 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tfshark.c')
-rw-r--r--tfshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tfshark.c b/tfshark.c
index 47e0800..310b4a6 100644
--- a/tfshark.c
+++ b/tfshark.c
@@ -1737,7 +1737,7 @@ process_packet_second_pass(capture_file *cf, epan_dissect_t *edt, frame_data *fd
return passed || fdata->flags.dependent_of_displayed;
}
-gboolean
+static gboolean
local_wtap_read(capture_file *cf, struct wtap_pkthdr* file_phdr _U_, int *err, gchar **err_info _U_, gint64 *data_offset _U_, guint8** data_buffer)
{
/* int bytes_read; */