aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netbios.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2005-07-30 16:34:38 +0000
committerJörg Mayer <jmayer@loplof.de>2005-07-30 16:34:38 +0000
commiteab0aeb4bb9f98994edccac5dc5cd303274c0054 (patch)
tree9dfa68d0b17ff7a5b589a851e264a77b99ab2852 /epan/dissectors/packet-netbios.c
parent38d1c38e99a8a7a22d50476f1698af80998a5be5 (diff)
More char -> const char fixes
Declare some functions static svn path=/trunk/; revision=15158
Diffstat (limited to 'epan/dissectors/packet-netbios.c')
-rw-r--r--epan/dissectors/packet-netbios.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-netbios.c b/epan/dissectors/packet-netbios.c
index 2370312cea..4534364801 100644
--- a/epan/dissectors/packet-netbios.c
+++ b/epan/dissectors/packet-netbios.c
@@ -337,7 +337,7 @@ netbios_name_type_descr(int name_type)
return val_to_str(name_type, nb_name_type_vals, "Unknown");
}
-void netbios_add_name(char* label, tvbuff_t *tvb, int offset,
+void netbios_add_name(const char* label, tvbuff_t *tvb, int offset,
proto_tree *tree)
{/* add a name field display tree. Display the name and station type in sub-tree */
@@ -544,7 +544,7 @@ static void nb_data2(int hf, tvbuff_t *tvb, int offset, proto_tree *tree)
}
-static void nb_resync_indicator( tvbuff_t *tvb, int offset, proto_tree *tree, char *cmd_str)
+static void nb_resync_indicator( tvbuff_t *tvb, int offset, proto_tree *tree, const char *cmd_str)
{
guint16 resync_indicator = tvb_get_letohs( tvb, offset + NB_DATA2);