summaryrefslogtreecommitdiff
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-01-14 05:39:57 +0000
committerGuy Harris <guy@alum.mit.edu>2014-01-14 05:39:57 +0000
commitc6c1887a0b9a028802826243fc61e8669f28f37e (patch)
treeb24c191eccb22190962de0a766eeb9e4574d101b /epan/to_str.h
parente1f6ad8387f43135e62caf8c21014a38985ec8a8 (diff)
downloadwireshark-c6c1887a0b9a028802826243fc61e8669f28f37e.tar.gz
Have ip6_to_str() and tvb_ip6_to_str() return const pointers, as the
ip_to_str equivalents do. Don't cast away constness, and don't make it necessary to do so. svn path=/trunk/; revision=54767
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index beb63eab8b..19e3a552a2 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -66,8 +66,8 @@ extern const gchar* fc_to_str(const guint8 *);
extern gchar* fcwwn_to_str (const guint8 *);
WS_DLL_PUBLIC const gchar* tvb_fc_to_str(tvbuff_t *tvb, const gint offset);
WS_DLL_PUBLIC gchar* tvb_fcwwn_to_str (tvbuff_t *tvb, const gint offset);
-WS_DLL_PUBLIC gchar* ip6_to_str(const struct e_in6_addr *);
-WS_DLL_PUBLIC gchar* tvb_ip6_to_str(tvbuff_t *tvb, const gint offset);
+WS_DLL_PUBLIC const gchar* ip6_to_str(const struct e_in6_addr *);
+WS_DLL_PUBLIC const gchar* tvb_ip6_to_str(tvbuff_t *tvb, const gint offset);
void ip6_to_str_buf(const struct e_in6_addr *, gchar *);
extern gchar* ipx_addr_to_str(const guint32, const guint8 *);
extern gchar* ipxnet_to_string(const guint8 *ad);