aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ax25-nol3.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-13 21:14:20 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-13 21:14:20 +0000
commit04766017dfe4ddb9192f832f8caffa8187073333 (patch)
treec17f06d7d265c463f041e946f7bf0af1ab800fd1 /epan/dissectors/packet-ax25-nol3.c
parentc63dfc2ab40e6fc13bb696d4d2220ed59df0b30e (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.c5
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");