aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-chdlc.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-11-12 15:46:43 +0100
committerMichael Mann <mmann78@netscape.net>2016-11-12 19:51:54 +0000
commit40b98600bd6a26ab716de2577246f00cd52bf4ef (patch)
treeb892fbf78dce7c6b7bcf7c12105eaf0e83895f15 /epan/dissectors/packet-chdlc.c
parent76f74ac6058f78d563265699e137679eb429a109 (diff)
fix no previous prototype for ‘capture_*’ [-Wmissing-prototypes]
Change-Id: Ie5bfe4d366a679ebcb561716f23d174e7b9bf487 Reviewed-on: https://code.wireshark.org/review/18754 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 'epan/dissectors/packet-chdlc.c')
-rw-r--r--epan/dissectors/packet-chdlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-chdlc.c b/epan/dissectors/packet-chdlc.c
index 6cb9611985..02a38e9701 100644
--- a/epan/dissectors/packet-chdlc.c
+++ b/epan/dissectors/packet-chdlc.c
@@ -113,7 +113,7 @@ const value_string chdlc_vals[] = {
{0, NULL}
};
-gboolean
+static gboolean
capture_chdlc( const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header) {
if (!BYTES_ARE_IN_FRAME(offset, len, 4))
return FALSE;