aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ansi_801.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-ansi_801.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-ansi_801.c')
-rw-r--r--epan/dissectors/packet-ansi_801.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-ansi_801.c b/epan/dissectors/packet-ansi_801.c
index 6277d1623a..54db5b633d 100644
--- a/epan/dissectors/packet-ansi_801.c
+++ b/epan/dissectors/packet-ansi_801.c
@@ -52,8 +52,8 @@
#include "epan/packet.h"
-static char *ansi_proto_name = "ANSI IS-801 (Location Services (PLD))";
-static char *ansi_proto_name_short = "IS-801";
+static const char *ansi_proto_name = "ANSI IS-801 (Location Services (PLD))";
+static const char *ansi_proto_name_short = "IS-801";
#define ANSI_801_FORWARD 0
#define ANSI_801_REVERSE 1
@@ -530,7 +530,7 @@ dissect_ansi_801_for_message(tvbuff_t *tvb, proto_tree *tree)
guint32 offset;
guint8 oct, num_req, num_rsp;
guint rem_len;
- gchar *str = NULL;
+ const gchar *str = NULL;
offset = 0;
oct = tvb_get_guint8(tvb, offset);
@@ -663,7 +663,7 @@ dissect_ansi_801_rev_message(tvbuff_t *tvb, proto_tree *tree)
guint32 offset;
guint8 oct, num_req, num_rsp;
guint rem_len;
- gchar *str = NULL;
+ const gchar *str = NULL;
offset = 0;
oct = tvb_get_guint8(tvb, offset);