aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bpv6.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2022-07-10 17:24:31 +0000
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-07-15 13:45:52 +0000
commit1ca19b3c384ffb4d925574989e3b4fb5d474513b (patch)
tree3cc45ee8e26501cfd2e2aa48a73c85229514d0b6 /epan/dissectors/packet-bpv6.c
parent52ddd86929085a3c212fcefb99fa93765bbb698e (diff)
Fix -Wmissing-prototypes found by Clang
ftype-double.c:89:1: warning: no previous prototype for function 'val_unary_minus' ftype-double.c:96:1: warning: no previous prototype for function 'val_add' ftype-double.c:103:1: warning: no previous prototype for function 'val_subtract' ftype-double.c:110:1: warning: no previous prototype for function 'val_multiply' ftype-double.c:117:1: warning: no previous prototype for function 'val_divide' ftype-integer.c:670:1: warning: no previous prototype for function 'uint_bitwise_and' ftype-integer.c:677:1: warning: no previous prototype for function 'uint_is_zero' ftype-integer.c:683:1: warning: no previous prototype for function 'uint_is_negative' ftype-integer.c:689:1: warning: no previous prototype for function 'uint_unary_minus' ftype-integer.c:704:1: warning: no previous prototype for function 'uint64_bitwise_and' ftype-integer.c:711:1: warning: no previous prototype for function 'uint64_is_zero' ftype-integer.c:717:1: warning: no previous prototype for function 'uint64_is_negative' ftype-integer.c:723:1: warning: no previous prototype for function 'uint64_unary_minus' ftype-integer.c:738:1: warning: no previous prototype for function 'sint_bitwise_and' ftype-integer.c:745:1: warning: no previous prototype for function 'sint_is_zero' ftype-integer.c:751:1: warning: no previous prototype for function 'sint_is_negative' ftype-integer.c:757:1: warning: no previous prototype for function 'sint_unary_minus ftype-integer.c:764:1: warning: no previous prototype for function 'sint64_bitwise_and' ftype-integer.c:771:1: warning: no previous prototype for function 'sint64_is_zero' ftype-integer.c:777:1: warning: no previous prototype for function 'sint64_is_negative' ftype-integer.c:783:1: warning: no previous prototype for function 'sint64_unary_minus' packet-bpv6.c:2182:1: warning: no previous prototype for function 'proto_register_bpv6' packet-bpv6.c:2766:1: warning: no previous prototype for function 'proto_reg_handoff_bpv6' packet-bpv7.c:1978:6: warning: no previous prototype for function 'proto_register_bpv7' packet-bpv7.c:2037:6: warning: no previous prototype for function 'proto_reg_handoff_bpv7' packet-realtek.c:349:1: warning: no previous prototype for function 'proto_register_realtek' packet-realtek.c:436:1: warning: no previous prototype for function 'proto_reg_handoff_realtek' packet-tcpcl.c:2147:1: warning: no previous prototype for function 'proto_register_tcpclv3' packet-tcpcl.c:2211:1: warning: no previous prototype for function 'proto_reg_handoff_tcpclv3'
Diffstat (limited to 'epan/dissectors/packet-bpv6.c')
-rw-r--r--epan/dissectors/packet-bpv6.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bpv6.c b/epan/dissectors/packet-bpv6.c
index 45140f519e..a4e0f31cfd 100644
--- a/epan/dissectors/packet-bpv6.c
+++ b/epan/dissectors/packet-bpv6.c
@@ -47,6 +47,9 @@
#include "packet-bpv6.h"
#include "packet-cfdp.h"
+void proto_register_bpv6(void);
+void proto_reg_handoff_bpv6(void);
+
static int dissect_admin_record(proto_tree *primary_tree, tvbuff_t *tvb, packet_info *pinfo,
int offset, int payload_length, gboolean* success);