diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-02-02 18:01:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-02-02 18:01:59 +0000 |
commit | 02d2de411a385429a049709348a2a0f3d6777c0a (patch) | |
tree | 772643ec39484f7f0aa0348212ce533e323d1f22 | |
parent | dfa57848581a06fe6e16660e77b9401416cdcf11 (diff) |
From Lars Roland: fix the declaration of "tvb_strneql()".
svn path=/trunk/; revision=9958
-rw-r--r-- | plugins/Xplugin_table.h | 2 | ||||
-rw-r--r-- | plugins/plugin_api_list.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Xplugin_table.h b/plugins/Xplugin_table.h index f531be5926..91e44d4a83 100644 --- a/plugins/Xplugin_table.h +++ b/plugins/Xplugin_table.h @@ -98,7 +98,7 @@ 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); typedef gint (*addr_tvb_find_line_end_unquoted) (tvbuff_t *, gint, int, gint *); -typedef gint (*addr_tvb_strneql) (tvbuff_t *, gint, const guint8 *, gint); +typedef gint (*addr_tvb_strneql) (tvbuff_t *, gint, const gchar *, gint); typedef gint (*addr_tvb_strncaseeql) (tvbuff_t *, gint, const gchar *, gint); typedef gchar *(*addr_tvb_bytes_to_str) (tvbuff_t *, gint, gint); typedef struct pref_module *(*addr_prefs_register_protocol) (int, void (*) (void)); diff --git a/plugins/plugin_api_list.c b/plugins/plugin_api_list.c index 4a10a969ab..7efddde69a 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.24 2004/02/01 06:49:25 jmayer Exp $ + * $Id: plugin_api_list.c,v 1.25 2004/02/02 18:00:41 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -183,7 +183,7 @@ gint tvb_get_nstringz0(tvbuff_t*, gint, guint, guint8*); gint tvb_find_line_end(tvbuff_t*, gint, int, gint *, gboolean); gint tvb_find_line_end_unquoted(tvbuff_t*, gint, int, gint *); -gint tvb_strneql(tvbuff_t*, gint, const guint8 *, gint); +gint tvb_strneql(tvbuff_t*, gint, const gchar *, gint); gint tvb_strncaseeql(tvbuff_t*, gint, const gchar *, gint); gchar *tvb_bytes_to_str(tvbuff_t*, gint, gint len); |