aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-06-28 07:29:50 +0200
committerAnders Broman <a.broman58@gmail.com>2016-06-28 06:54:24 +0000
commit7fcdc759b4b681f33be9ab4e723fea32e31e14cc (patch)
tree38964d67ac918e6013c2571709031e2c3c3e3b8b /epan
parente5a1afc6f98cd807fbe74f9a2db455b56dfebbe9 (diff)
print(.c): fix no previous prototype for 'check_protocolfilter' [-Wmissing-prototypes]
Change-Id: Ib10e919dd3f0bec92004c68bf73a3c7d37961f03 Reviewed-on: https://code.wireshark.org/review/16187 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>
Diffstat (limited to 'epan')
-rw-r--r--epan/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/print.c b/epan/print.c
index 5a85f43ebf..6367ca5d1a 100644
--- a/epan/print.c
+++ b/epan/print.c
@@ -265,7 +265,7 @@ write_json_preamble(FILE *fh)
/* Check if the str match the protocolfilter. json_filter is space
delimited string and str need to exact-match to one of the value. */
-gboolean check_protocolfilter(gchar **protocolfilter, const char *str)
+static gboolean check_protocolfilter(gchar **protocolfilter, const char *str)
{
gboolean res = FALSE;
gchar **ptr;