aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2013-12-08 20:15:07 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2013-12-08 20:15:07 +0000
commita944c8ef7a32d62c3c1854d7b621a0c0ca9d4192 (patch)
tree3c3a7b1148abe45eb83a8d48d356abf8c305a6bf /epan
parent0826029ec2812e1b069027e069d19a1a73477814 (diff)
Remove proto_tree_add_unicode_string()
svn path=/trunk/; revision=53869
Diffstat (limited to 'epan')
-rw-r--r--epan/proto.c8
-rw-r--r--epan/proto.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/epan/proto.c b/epan/proto.c
index 39b3e7c998..2cbb2a7c95 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -2582,14 +2582,6 @@ proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start,
}
proto_item *
-proto_tree_add_unicode_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start,
- gint length, const char* value)
-{
- DISSECTOR_ASSERT(g_utf8_validate(value, -1, NULL));
- return proto_tree_add_string_format_value(tree, hfindex, tvb, start, length, value, "%s", value);
-}
-
-proto_item *
proto_tree_add_string_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb,
gint start, gint length, const char* value,
const char *format,
diff --git a/epan/proto.h b/epan/proto.h
index 18df4cd172..f840403972 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -1246,10 +1246,6 @@ WS_DLL_PUBLIC proto_item *
proto_tree_add_string_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start,
gint length, const char* value, const char *format, ...) G_GNUC_PRINTF(7,8);
-extern proto_item *
-proto_tree_add_unicode_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, gint start,
- gint length, const char* value);
-
/** Add a FT_BOOLEAN to a proto_tree.
@param tree the tree to append this item to
@param hfindex field index