diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-12-07 11:37:58 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-12-07 11:37:58 +0000 |
commit | eb252d2d3471d5b80af847cd536048fc05c4ae5f (patch) | |
tree | 776d04fbeb6cbfb1c42b28a1a6518b18fd846d26 /epan/dissectors/packet-umts_mac.c | |
parent | c67d38cf15be33536de6da517221cf7ce7285f8e (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.c | 5 |
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; |