diff options
Diffstat (limited to 'epan')
-rw-r--r-- | epan/to_str.c | 4 | ||||
-rw-r--r-- | epan/to_str.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/to_str.c b/epan/to_str.c index 1440bf90a4..050d5fa053 100644 --- a/epan/to_str.c +++ b/epan/to_str.c @@ -804,7 +804,7 @@ decode_numeric_bitfield(guint32 val, guint32 mask, int width, address types */ /* convert an address struct into a printable string */ gchar* -address_to_str(address *addr) +address_to_str(const address *addr) { #ifndef INET6_ADDRSTRLEN #define INET6_ADDRSTRLEN 46 @@ -823,7 +823,7 @@ address_to_str(address *addr) } void -address_to_str_buf(address *addr, gchar *buf) +address_to_str_buf(const address *addr, gchar *buf) { struct atalk_ddp_addr ddp_addr; diff --git a/epan/to_str.h b/epan/to_str.h index 56e1460d67..5ae35be692 100644 --- a/epan/to_str.h +++ b/epan/to_str.h @@ -46,8 +46,8 @@ typedef enum { struct e_in6_addr; -extern gchar* address_to_str(address *); -extern void address_to_str_buf(address *, gchar *); +extern gchar* address_to_str(const address *); +extern void address_to_str_buf(const address *, gchar *); extern gchar* ether_to_str(const guint8 *); extern gchar* ip_to_str(const guint8 *); extern void ip_to_str_buf(const guint8 *, gchar *); |