aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/plugin_table.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-04-02 09:55:34 +0000
committerGuy Harris <guy@alum.mit.edu>2001-04-02 09:55:34 +0000
commitd42a2a652f0b8b6b488978463b35edffdbc54b15 (patch)
tree28c8f37bfdce904e53a64f0fd4f640157b105244 /plugins/plugin_table.h
parent65dc46932669c4fb95360156a863294f51963fa8 (diff)
"tvb_get_ptr()" now returns a "const guint8 *", not a "guint8 *"; adjust
the plugin-API declarations appropriately. svn path=/trunk/; revision=3242
Diffstat (limited to 'plugins/plugin_table.h')
-rw-r--r--plugins/plugin_table.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/plugin_table.h b/plugins/plugin_table.h
index e017d9748c..43fbbff3d8 100644
--- a/plugins/plugin_table.h
+++ b/plugins/plugin_table.h
@@ -1,7 +1,7 @@
/* plugin_table.h
* Table of exported addresses for Ethereal plugins.
*
- * $Id: plugin_table.h,v 1.17 2001/01/28 20:26:20 guy Exp $
+ * $Id: plugin_table.h,v 1.18 2001/04/02 09:55:34 guy Exp $
*
* Ethereal - Network traffic analyzer
* Copyright 2000 by Gilbert Ramirez <gram@xiexie.org>
@@ -140,7 +140,7 @@ typedef guint64 (*addr_tvb_get_letohll)(tvbuff_t*, gint);
typedef guint8* (*addr_tvb_memcpy)(tvbuff_t*, guint8* target, gint, gint);
typedef guint8* (*addr_tvb_memdup)(tvbuff_t*, gint, gint);
-typedef guint8* (*addr_tvb_get_ptr)(tvbuff_t*, gint, gint);
+typedef const guint8* (*addr_tvb_get_ptr)(tvbuff_t*, gint, gint);
typedef gint (*addr_tvb_find_guint8)(tvbuff_t*, gint, guint, guint8);
typedef gint (*addr_tvb_pbrk_guint8)(tvbuff_t *, gint, guint, guint8 *);