aboutsummaryrefslogtreecommitdiffstats
path: root/epan/to_str.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-08-08 18:50:39 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-08-08 18:50:39 +0000
commit0dc9fb3d4ab00d14bf45c597471e10e601efd4d4 (patch)
treeae44175ca8fd23548fcec5833098b535af5e372c /epan/to_str.h
parentf3407856f4fd97caf90655205cdb2c66991e75ba (diff)
various code cleanup:
-use g_snprintf instead of sprintf and snprintf -use g_strdup_printf where appropriate -remove #include "snprintf.h" (as only g_snprintf should be used) -replace some more alloc/realloc/calloc/free with their glib pendants svn path=/trunk/; revision=15264
Diffstat (limited to 'epan/to_str.h')
-rw-r--r--epan/to_str.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/to_str.h b/epan/to_str.h
index 0035ac1b71..3f49ea6178 100644
--- a/epan/to_str.h
+++ b/epan/to_str.h
@@ -50,7 +50,7 @@ typedef enum {
struct e_in6_addr;
extern gchar* address_to_str(const address *);
-extern void address_to_str_buf(const address *, gchar *);
+extern void address_to_str_buf(const address *addr, gchar *buf, int buf_len);
extern gchar* ether_to_str(const guint8 *);
extern gchar* ip_to_str(const guint8 *);
extern void ip_to_str_buf(const guint8 *, gchar *);