diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-13 21:14:20 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-13 21:14:20 +0000 |
commit | 04766017dfe4ddb9192f832f8caffa8187073333 (patch) | |
tree | c17f06d7d265c463f041e946f7bf0af1ab800fd1 /epan/dissectors/packet-ax25-nol3.c | |
parent | c63dfc2ab40e6fc13bb696d4d2220ed59df0b30e (diff) |
- [-Wmissing-prototypes]
- explicit casts.
svn path=/trunk/; revision=48282
Diffstat (limited to 'epan/dissectors/packet-ax25-nol3.c')
-rw-r--r-- | epan/dissectors/packet-ax25-nol3.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ax25-nol3.c b/epan/dissectors/packet-ax25-nol3.c index 415ccece25..e7351be53a 100644 --- a/epan/dissectors/packet-ax25-nol3.c +++ b/epan/dissectors/packet-ax25-nol3.c @@ -57,6 +57,9 @@ #define STRLEN 80 +void proto_register_ax25_nol3(void); +void proto_reg_handoff_ax25_nol3(void); + /* Dissector handles - all the possibles are listed */ static dissector_handle_t aprs_handle; static dissector_handle_t default_handle; @@ -160,7 +163,7 @@ dissect_ax25_nol3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree ) guint8 dti = 0; gboolean dissected; - info_buffer = ep_alloc( STRLEN ); + info_buffer = (char *)ep_alloc( STRLEN ); info_buffer[0] = '\0'; col_set_str( pinfo->cinfo, COL_PROTOCOL, "AX.25-NoL3"); |