diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-03-02 23:45:34 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-03-02 23:45:34 +0000 |
commit | 12a17e8f960034177a91f7e8903654660bdd1cac (patch) | |
tree | 9895b2df097bc8240cfd3867ec526efc524a9d14 /plugins | |
parent | 7fc8a5255a5a474fab912bd7df830f2bf52fc0dd (diff) | |
download | wireshark-12a17e8f960034177a91f7e8903654660bdd1cac.tar.gz wireshark-12a17e8f960034177a91f7e8903654660bdd1cac.tar.bz2 wireshark-12a17e8f960034177a91f7e8903654660bdd1cac.zip |
Note to self: If you update the code, you should update the docs too.
Update README.plugins to use ENABLE_STATIC instead of __ETHEREAL_STATIC__
Update some plugins, that were created after my changes according to the
outdated docs.
Changed occurrences of
G_MODULE_EXPORT void plugin_reg_handoff(void)
into
G_MODULE_EXPORT void
plugin_reg_handoff(void)
as the one line Python version doesn't work with the Python of Suse 9.0
svn path=/trunk/; revision=10281
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/asn1/packet-asn1.c | 4 | ||||
-rw-r--r-- | plugins/irda/packet-irda.c | 12 | ||||
-rw-r--r-- | plugins/v5ua/packet-v5ua.c | 4 |
3 files changed, 11 insertions, 9 deletions
diff --git a/plugins/asn1/packet-asn1.c b/plugins/asn1/packet-asn1.c index 311c1891d4..1efcdcaf06 100644 --- a/plugins/asn1/packet-asn1.c +++ b/plugins/asn1/packet-asn1.c @@ -3,7 +3,7 @@ * * Copyright (c) 2003 by Matthijs Melchior <matthijs.melchior@xs4all.nl> * - * $Id: packet-asn1.c,v 1.20 2004/02/22 23:53:57 guy Exp $ + * $Id: packet-asn1.c,v 1.21 2004/03/02 23:45:34 jmayer Exp $ * * A plugin for: * @@ -97,7 +97,7 @@ /* Define version if we are not building ethereal statically */ -#ifndef __ETHEREAL_STATIC__ +#ifndef ENABLE_STATIC G_MODULE_EXPORT const gchar version[] = VERSION; #endif diff --git a/plugins/irda/packet-irda.c b/plugins/irda/packet-irda.c index 92aeb6371d..0ecaadcd86 100644 --- a/plugins/irda/packet-irda.c +++ b/plugins/irda/packet-irda.c @@ -6,7 +6,7 @@ * Extended by Jan Kiszka <jan.kiszka@web.de> * Copyright 2003 Jan Kiszka * - * $Id: packet-irda.c,v 1.5 2004/01/18 14:03:37 guy Exp $ + * $Id: packet-irda.c,v 1.6 2004/03/02 23:45:34 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -146,7 +146,7 @@ #define TTP_MORE 0x80 -#ifndef __ETHEREAL_STATIC__ +#ifndef ENABLE_STATIC G_MODULE_EXPORT const gchar version[] = VERSION; #endif @@ -2330,14 +2330,16 @@ static void proto_reg_handoff_irda(void) /* Start the functions we need for the plugin stuff */ -#ifndef __ETHEREAL_STATIC__ +#ifndef ENABLE_STATIC -G_MODULE_EXPORT void plugin_reg_handoff(void) +G_MODULE_EXPORT void +plugin_reg_handoff(void) { proto_reg_handoff_irda(); } -G_MODULE_EXPORT void plugin_init(plugin_address_table_t* pat +G_MODULE_EXPORT void +plugin_init(plugin_address_table_t* pat #ifndef PLUGINS_NEED_ADDRESS_TABLE _U_ #endif diff --git a/plugins/v5ua/packet-v5ua.c b/plugins/v5ua/packet-v5ua.c index 3f75d9652c..435ee41332 100644 --- a/plugins/v5ua/packet-v5ua.c +++ b/plugins/v5ua/packet-v5ua.c @@ -36,7 +36,7 @@ #include <gmodule.h> -#ifndef __ETHEREAL_STATIC__ +#ifndef ENABLE_STATIC G_MODULE_EXPORT const gchar version[] = VERSION; #endif @@ -2372,7 +2372,7 @@ proto_reg_handoff_v5ua(void) /* Start the functions we need for the plugin stuff */ -#ifndef __ETHEREAL_STATIC__ +#ifndef ENABLE_STATIC G_MODULE_EXPORT void plugin_reg_handoff(void){ |