summaryrefslogtreecommitdiff
path: root/plugins/gryphon
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-30 10:36:26 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-30 10:36:26 +0000
commit1c715bb383e0fe1fd5c66a7851defc47e5fd6078 (patch)
tree1bd69d5459d03f383e01b6454afd1aceecaf7634 /plugins/gryphon
parent3db3147785679ead13e3a702334bf906106e2afd (diff)
downloadwireshark-1c715bb383e0fe1fd5c66a7851defc47e5fd6078.tar.gz
Mark the "plugin_address_table_t *" argument to "plugin_init()" as
unused if PLUGINS_NEED_ADDRESS_TABLE isn't defined. svn path=/trunk/; revision=5311
Diffstat (limited to 'plugins/gryphon')
-rw-r--r--plugins/gryphon/packet-gryphon.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/plugins/gryphon/packet-gryphon.c b/plugins/gryphon/packet-gryphon.c
index 311f8afdf0..b810d40cef 100644
--- a/plugins/gryphon/packet-gryphon.c
+++ b/plugins/gryphon/packet-gryphon.c
@@ -3,7 +3,7 @@
* By Steve Limkemann <stevelim@dgtech.com>
* Copyright 1998 Steve Limkemann
*
- * $Id: packet-gryphon.c,v 1.27 2002/01/21 07:37:48 guy Exp $
+ * $Id: packet-gryphon.c,v 1.28 2002/04/30 10:36:26 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1885,7 +1885,11 @@ plugin_reg_handoff(void){
}
G_MODULE_EXPORT void
-plugin_init(plugin_address_table_t *pat){
+plugin_init(plugin_address_table_t *pat
+#ifndef PLUGINS_NEED_ADDRESS_TABLE
+_U_
+#endif
+){
/* initialise the table of pointers needed in Win32 DLLs */
plugin_address_table_init(pat);
/* register the new protocol, protocol fields, and subtrees */