aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtcp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-12 06:11:05 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-12 06:11:05 +0000
commitb781d6c99dd2c773476c5741fdc7bea1c7b85f15 (patch)
treed6bbb1b8bc15d954a4157ced7e8ac9152dd47708 /epan/dissectors/packet-rtcp.c
parent018157cbb66cf75f1c5b58bd4d536ccd048dbd04 (diff)
- Make local functions static.
- Forward declaration of register functions. svn path=/trunk/; revision=53958
Diffstat (limited to 'epan/dissectors/packet-rtcp.c')
-rw-r--r--epan/dissectors/packet-rtcp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c
index d8e3b8aded..178f5faf6d 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -79,6 +79,9 @@
#include <epan/strutil.h>
#include <epan/wmem/wmem.h>
+void proto_register_rtcp(void);
+void proto_reg_handoff_rtcp(void);
+
/* Version is the first 2 bits of the first octet*/
#define RTCP_VERSION(octet) ((octet) >> 6)
@@ -734,7 +737,7 @@ dissect_rtcp_heur( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da
/* Dissect the length field. Append to this field text indicating the number of
actual bytes this translates to (i.e. (raw value + 1) * 4) */
-int dissect_rtcp_length_field( proto_tree *tree, tvbuff_t *tvb, int offset)
+static int dissect_rtcp_length_field( proto_tree *tree, tvbuff_t *tvb, int offset)
{
proto_item *ti;
unsigned short raw_length = tvb_get_ntohs( tvb, offset );