diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2022-07-10 17:24:31 +0000 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-07-15 13:45:52 +0000 |
commit | 1ca19b3c384ffb4d925574989e3b4fb5d474513b (patch) | |
tree | 3cc45ee8e26501cfd2e2aa48a73c85229514d0b6 /epan/dissectors | |
parent | 52ddd86929085a3c212fcefb99fa93765bbb698e (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')
-rw-r--r-- | epan/dissectors/packet-bpv6.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-bpv7.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-realtek.c | 3 | ||||
-rw-r--r-- | epan/dissectors/packet-tcpcl.c | 2 |
4 files changed, 11 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); diff --git a/epan/dissectors/packet-bpv7.c b/epan/dissectors/packet-bpv7.c index 3b00f03bbb..6a23b07f88 100644 --- a/epan/dissectors/packet-bpv7.c +++ b/epan/dissectors/packet-bpv7.c @@ -29,6 +29,9 @@ #include <wsutil/utf8_entities.h> #include <inttypes.h> +void proto_register_bpv7(void); +void proto_reg_handoff_bpv7(void); + /// Protocol column name static const char *const proto_name_bp = "BPv7"; static const char *const proto_name_bp_admin = "BPv7 Admin"; diff --git a/epan/dissectors/packet-realtek.c b/epan/dissectors/packet-realtek.c index 24550372b4..885b9c8226 100644 --- a/epan/dissectors/packet-realtek.c +++ b/epan/dissectors/packet-realtek.c @@ -18,6 +18,9 @@ #include <epan/packet.h> #include <etypes.h> +void proto_register_realtek(void); +void proto_reg_handoff_realtek(void); + #define RTL_PROTOCOL_RRCP 0x01 /* RRCP */ #define RTL_PROTOCOL_REP 0x02 /* REP */ #define RTL_PROTOCOL_RLDP 0x03 /* RLDP */ diff --git a/epan/dissectors/packet-tcpcl.c b/epan/dissectors/packet-tcpcl.c index 8443041e74..02a2954375 100644 --- a/epan/dissectors/packet-tcpcl.c +++ b/epan/dissectors/packet-tcpcl.c @@ -53,6 +53,8 @@ #include <epan/dissectors/packet-bpv6.h> #include "packet-tcpcl.h" +void proto_register_tcpclv3(void); +void proto_reg_handoff_tcpclv3(void); static const char magic[] = {'d', 't', 'n', '!'}; |