aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_mac.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-07 11:37:58 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-07 11:37:58 +0000
commiteb252d2d3471d5b80af847cd536048fc05c4ae5f (patch)
tree776d04fbeb6cbfb1c42b28a1a6518b18fd846d26 /epan/dissectors/packet-umts_mac.c
parentc67d38cf15be33536de6da517221cf7ce7285f8e (diff)
- Make local functions static.
- Forward declaration of register functions. svn path=/trunk/; revision=53821
Diffstat (limited to 'epan/dissectors/packet-umts_mac.c')
-rw-r--r--epan/dissectors/packet-umts_mac.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_mac.c b/epan/dissectors/packet-umts_mac.c
index 7c4bea9b8d..f7b4ccf3b5 100644
--- a/epan/dissectors/packet-umts_mac.c
+++ b/epan/dissectors/packet-umts_mac.c
@@ -37,6 +37,9 @@
#include "packet-rlc.h"
#include "packet-nbap.h"
+void proto_register_umts_mac(void);
+void proto_reg_handoff_umts_mac(void);
+
int proto_umts_mac = -1;
extern int proto_fp;
extern int proto_rlc;
@@ -797,7 +800,7 @@ static body_parts ** get_body_parts(mac_is_channel * ch)
return bpa;
}
-tvbuff_t * mac_is_add_fragment(tvbuff_t * tvb _U_, packet_info *pinfo, proto_tree * tree _U_, guint8 lchid, guint ueid, int offset, guint8 ss, guint16 tsn, int sdu_no, guint8 no_sdus, guint16 maclength)
+static tvbuff_t * mac_is_add_fragment(tvbuff_t * tvb _U_, packet_info *pinfo, proto_tree * tree _U_, guint8 lchid, guint ueid, int offset, guint8 ss, guint16 tsn, int sdu_no, guint8 no_sdus, guint16 maclength)
{
mac_is_channel ch; /* Channel for looking up in hash tables. */
ch.lchid = lchid;