aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-alcap.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-27 07:57:01 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-27 07:57:01 +0000
commitb8d33c4add7a81a15ac5b414269a6d292d9e2833 (patch)
treeb7fd84054350968df697828fc24f22835963c082 /epan/dissectors/packet-alcap.c
parent440cf5767fc641275a402219eb4bdf889fac4855 (diff)
Fix >2600 warnings by doing char -> const char changes.
Additionally in dissectors/packet-ansi_map.c: Flag unused parameters as such and remove dummy param = param; statements. svn path=/trunk/; revision=15114
Diffstat (limited to 'epan/dissectors/packet-alcap.c')
-rw-r--r--epan/dissectors/packet-alcap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-alcap.c b/epan/dissectors/packet-alcap.c
index 3253f4557e..7ea4b83913 100644
--- a/epan/dissectors/packet-alcap.c
+++ b/epan/dissectors/packet-alcap.c
@@ -95,8 +95,8 @@ static const value_string msg_parm_strings[] = {
};
#define NUM_PARMS (sizeof(msg_parm_strings)/sizeof(value_string))
-static char *alcap_proto_name = "AAL type 2 signalling protocol - Capability set 1 (Q.2630.1)";
-static char *alcap_proto_name_short = "ALCAP";
+static const char *alcap_proto_name = "AAL type 2 signalling protocol - Capability set 1 (Q.2630.1)";
+static const char *alcap_proto_name_short = "ALCAP";
/* Initialize the subtree pointers */
static gint ett_alcap = -1;
@@ -195,7 +195,7 @@ dis_field_compatibility(tvbuff_t *tvb, proto_tree *tree, guint32 *offset, gboole
guint8 compat;
proto_item *item;
proto_tree *subtree;
- gchar *str = NULL;
+ const gchar *str = NULL;
curr_offset = *offset;
@@ -448,7 +448,7 @@ dis_field_audio_service(tvbuff_t *tvb, proto_tree *tree, guint *len, guint32 *of
guint8 oct;
proto_item *item;
proto_tree *subtree;
- gchar *str = NULL;
+ const gchar *str = NULL;
curr_offset = *offset;
@@ -910,7 +910,7 @@ dis_field_nature_of_address(tvbuff_t *tvb, proto_tree *tree, guint *len, guint32
guint8 oct;
proto_item *item;
proto_tree *subtree;
- gchar *str = NULL;
+ const gchar *str = NULL;
curr_offset = *offset;
@@ -1068,7 +1068,7 @@ dis_field_cause_value(tvbuff_t *tvb, proto_tree *tree, guint *len, guint32 *offs
guint8 oct;
proto_item *item;
proto_tree *subtree;
- gchar *str = NULL;
+ const gchar *str = NULL;
*compat = FALSE;
curr_offset = *offset;