diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-30 07:14:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-03 01:27:47 +0000 |
commit | 4473c676464805faf474a50fc076457ccf826234 (patch) | |
tree | edbce62fbfb67e42e495fd4e54c48c2bd5ea4310 /epan/addr_resolv.h | |
parent | f9df9ffb3fd479e3d0bd1bde7ca299ce5bd1872b (diff) |
Fix some constness issues [-Wcast-qual]
Change-Id: I111558df3d36436ddf5e2728f113b022cc48a713
Reviewed-on: https://code.wireshark.org/review/13013
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/addr_resolv.h')
-rw-r--r-- | epan/addr_resolv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/addr_resolv.h b/epan/addr_resolv.h index adce91168b..28a03f873f 100644 --- a/epan/addr_resolv.h +++ b/epan/addr_resolv.h @@ -192,7 +192,7 @@ WS_DLL_PUBLIC gchar *get_ether_name(const guint8 *addr); WS_DLL_PUBLIC gchar *tvb_get_ether_name(tvbuff_t *tvb, gint offset); /* get_ether_name returns the logical name if found in ethers files else NULL */ -gchar *get_ether_name_if_known(const guint8 *addr); +const gchar *get_ether_name_if_known(const guint8 *addr); /* * Given a sequence of 3 octets containing an OID, get_manuf_name() @@ -238,7 +238,7 @@ extern const gchar *eui64_to_display(wmem_allocator_t *allocator, const guint64 /* get_ipxnet_name returns the logical name if found in an ipxnets file, * or a string formatted with "%X" if not */ -extern const gchar *get_ipxnet_name(wmem_allocator_t *allocator, const guint32 addr); +extern gchar *get_ipxnet_name(wmem_allocator_t *allocator, const guint32 addr); WS_DLL_PUBLIC guint get_hash_ether_status(hashether_t* ether); WS_DLL_PUBLIC char* get_hash_ether_hexaddr(hashether_t* ether); |