From f9680171b7a78eae01e0a6defd4a70e6bef01210 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Sun, 2 Nov 2014 16:58:39 +0100 Subject: [PATCH] RTPS: fix warning: no previous prototype for function ... [-Wmissing-prototypes] Change-Id: I1943c1446a7bc3381d869514d7802bc0fbb1f6e3 Reviewed-on: https://code.wireshark.org/review/5072 Reviewed-by: Anders Broman --- epan/dissectors/packet-rtps.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c index 24707d8a78..0e3ee2bdf3 100644 --- a/epan/dissectors/packet-rtps.c +++ b/epan/dissectors/packet-rtps.c @@ -1611,7 +1611,7 @@ guint64 rtps_util_add_seq_number(proto_tree *tree, /* Vendor specific: RTI * Insert in the protocol tree the next 8 bytes interpreted as TransportInfo */ -void rtps_util_add_transport_info(proto_tree *tree, +static void rtps_util_add_transport_info(proto_tree *tree, tvbuff_t * tvb, gint offset, int little_endian, @@ -1649,7 +1649,7 @@ void rtps_util_add_ntp_time(proto_tree *tree, /* ------------------------------------------------------------------------- */ /* Insert in the protocol tree the next 8 bytes interpreted as NtpTime */ -void rtps_util_add_ntp_time_sec_and_fraction(proto_tree *tree, +static void rtps_util_add_ntp_time_sec_and_fraction(proto_tree *tree, tvbuff_t * tvb, gint offset, gboolean little_endian, @@ -1772,7 +1772,7 @@ void rtps_util_add_liveliness_qos(proto_tree *tree, tvbuff_t * tvb, gint offset, /* Insert in the protocol tree the next bytes interpreted as Liveliness * QoS Policy structure. */ -void rtps_util_add_product_version(proto_tree *tree, tvbuff_t * tvb, gint offset) { +static void rtps_util_add_product_version(proto_tree *tree, tvbuff_t * tvb, gint offset) { proto_tree *subtree; guint8 major, minor, release, revision;