diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-11-12 12:57:36 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-11-12 20:53:01 +0000 |
commit | ae1630db71c7a2d4db87b2ad502f84bd3dca0894 (patch) | |
tree | 626388d0908034c6bb5ed0459547db0f712a61c6 /epan/dissectors/packet-mrdisc.c | |
parent | 54aea456331825be6f802edec510e4cb2e6cc34a (diff) |
Fix warning: no previous prototype for function ... [-Wmissing-prototypes]
warning coming after g055e4768ece and g421913b721
Change-Id: I5caeeb89c559faef8007f2946c68c7172b75dfa8
Reviewed-on: https://code.wireshark.org/review/5250
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-mrdisc.c')
-rw-r--r-- | epan/dissectors/packet-mrdisc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mrdisc.c b/epan/dissectors/packet-mrdisc.c index 71db82feb2..273f4542d5 100644 --- a/epan/dissectors/packet-mrdisc.c +++ b/epan/dissectors/packet-mrdisc.c @@ -44,6 +44,7 @@ #include "packet-igmp.h" void proto_register_mrdisc(void); +void proto_reg_handoff_mrdisc(void); static int proto_mrdisc = -1; static int hf_checksum = -1; @@ -183,7 +184,7 @@ dissect_mrdisc_mrst(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, /* This function is only called from the IGMP dissector */ -int +static int dissect_mrdisc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* data _U_) { proto_tree *tree; @@ -192,9 +193,9 @@ dissect_mrdisc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* int offset = 0; guint32 dst = g_htonl(MC_ALL_ROUTERS); - /* Shouldn't be destined for us */ + /* Shouldn't be destined for us */ if (memcmp(pinfo->dst.data, &dst, 4)) - return 0; + return 0; col_set_str(pinfo->cinfo, COL_PROTOCOL, "MRDISC"); col_clear(pinfo->cinfo, COL_INFO); |