aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-eth.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-eth.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-eth.c')
-rw-r--r--epan/dissectors/packet-eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-eth.c b/epan/dissectors/packet-eth.c
index 65b5bf5a70..b07726fb4f 100644
--- a/epan/dissectors/packet-eth.c
+++ b/epan/dissectors/packet-eth.c
@@ -193,7 +193,7 @@ eth_build_filter(packet_info *pinfo)
#define ETHERNET_802_3 2
#define ETHERNET_SNAP 3
-gboolean
+static gboolean
capture_eth(const guchar *pd, int offset, int len, capture_packet_info_t *cpinfo, const union wtap_pseudo_header *pseudo_header)
{
guint16 etype, length;