diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-08-18 13:23:11 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-08-18 12:53:48 +0000 |
commit | 26464b028baac61102fea77b7ae6f19755c2359e (patch) | |
tree | 96c40412abd0b2cc5e56a530f37b1466fa0eec17 | |
parent | 6d023626c9defa8d8cdc1a5e3aa5a6ac631cd1e0 (diff) |
ERF: fix no previous prototype for 'erf_ts_to_nstime/dissect_relative_time/dissect_ptp_timeinterval' [-Wmissing-prototypes]
Change-Id: I21ee4f8850f63de3a7fa91ed9e8a426c82a9d62e
Reviewed-on: https://code.wireshark.org/review/17143
Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r-- | epan/dissectors/packet-erf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-erf.c b/epan/dissectors/packet-erf.c index 661d5db3c9..94266476c6 100644 --- a/epan/dissectors/packet-erf.c +++ b/epan/dissectors/packet-erf.c @@ -2042,7 +2042,7 @@ dissect_meta_tag_bitfield(proto_item *section_tree, tvbuff_t *tvb, int offset, e return tag_pi; } -void erf_ts_to_nstime(guint64 timestamp, nstime_t* t, gboolean is_relative) { +static void erf_ts_to_nstime(guint64 timestamp, nstime_t* t, gboolean is_relative) { guint64 ts = timestamp; /* relative ERF timestamps are signed, convert as if unsigned then flip back */ @@ -2071,7 +2071,7 @@ void erf_ts_to_nstime(guint64 timestamp, nstime_t* t, gboolean is_relative) { } /* TODO: Would be nice if default FT_RELATIVE_TIME formatter was prettier */ -proto_item *dissect_relative_time(proto_tree *tree, const int hfindex, tvbuff_t *tvb, gint offset, gint length, nstime_t* t) { +static proto_item *dissect_relative_time(proto_tree *tree, const int hfindex, tvbuff_t *tvb, gint offset, gint length, nstime_t* t) { proto_item *pi = NULL; DISSECTOR_ASSERT(t); @@ -2086,7 +2086,7 @@ proto_item *dissect_relative_time(proto_tree *tree, const int hfindex, tvbuff_t return pi; } -proto_item *dissect_ptp_timeinterval(proto_tree *tree, const int hfindex, tvbuff_t *tvb, gint offset, gint length, gint64 timeinterval) { +static proto_item *dissect_ptp_timeinterval(proto_tree *tree, const int hfindex, tvbuff_t *tvb, gint offset, gint length, gint64 timeinterval) { nstime_t t; guint64 ti, ti_ns; |