aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2004-01-25 17:53:55 +0000
committerGerald Combs <gerald@wireshark.org>2004-01-25 17:53:55 +0000
commita8348ec990d234d3f58e01fc4cace18d0e67a52a (patch)
treea89ee3294eb2365ff9035ba27bdfb36a3d9fb6db /plugins
parent09bf45ab368a65ba3f7f4187dce2be1cab465b03 (diff)
Make the definition of tvb_format_text() match what's in tvbuff.h.
svn path=/trunk/; revision=9847
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Xplugin_table.h2
-rw-r--r--plugins/plugin_api_list.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Xplugin_table.h b/plugins/Xplugin_table.h
index 7dddb9c07c..acadc0f009 100644
--- a/plugins/Xplugin_table.h
+++ b/plugins/Xplugin_table.h
@@ -93,7 +93,7 @@ typedef const guint8 *(*addr_tvb_get_ptr) (tvbuff_t *, gint, gint);
typedef gint (*addr_tvb_find_guint8) (tvbuff_t *, gint, gint, guint8);
typedef gint (*addr_tvb_pbrk_guint8) (tvbuff_t *, gint, gint, guint8 *);
typedef gint (*addr_tvb_strnlen) (tvbuff_t *, gint, guint);
-typedef guint8 *(*addr_tvb_format_text) (tvbuff_t *, gint, gint);
+typedef gchar *(*addr_tvb_format_text) (tvbuff_t *, gint, gint);
typedef gint (*addr_tvb_get_nstringz) (tvbuff_t *, gint, guint, guint8 *);
typedef gint (*addr_tvb_get_nstringz0) (tvbuff_t *, gint, guint, guint8 *);
typedef gint (*addr_tvb_find_line_end) (tvbuff_t *, gint, int, gint *, gboolean);
diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c
index 8a787a7d06..21ce1c2a99 100644
--- a/plugins/plugin_api_list.c
+++ b/plugins/plugin_api_list.c
@@ -1,7 +1,7 @@
/* plugin_api_list.c
* Used to generate various included files for plugin API
*
- * $Id: plugin_api_list.c,v 1.22 2004/01/23 00:35:42 guy Exp $
+ * $Id: plugin_api_list.c,v 1.23 2004/01/25 17:53:55 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -175,7 +175,7 @@ gint tvb_pbrk_guint8(tvbuff_t *, gint, gint, guint8 *);
gint tvb_strnlen(tvbuff_t*, gint, guint);
-guint8 * tvb_format_text(tvbuff_t*, gint, gint);
+gchar * tvb_format_text(tvbuff_t*, gint, gint);
gint tvb_get_nstringz(tvbuff_t*, gint, guint, guint8*);
gint tvb_get_nstringz0(tvbuff_t*, gint, guint, guint8*);