aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ipv6.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-ipv6.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-ipv6.c')
-rw-r--r--epan/dissectors/packet-ipv6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ipv6.c b/epan/dissectors/packet-ipv6.c
index 96bf1724c9..922c9f8bd1 100644
--- a/epan/dissectors/packet-ipv6.c
+++ b/epan/dissectors/packet-ipv6.c
@@ -654,7 +654,7 @@ static const value_string routing_header_type[] = {
{ 0, NULL }
};
-gboolean
+static gboolean
capture_ipv6(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
{
guint8 nxt;
@@ -670,7 +670,7 @@ capture_ipv6(const guchar *pd, int offset, int len, capture_packet_info_t *cpinf
return try_capture_dissector("ip.proto", nxt, pd, offset, len, cpinfo, pseudo_header);
}
-gboolean
+static gboolean
capture_ipv6_exthdr(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
{
guint8 nxt;