aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/irda
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-03-02 23:45:34 +0000
committerJörg Mayer <jmayer@loplof.de>2004-03-02 23:45:34 +0000
commit12a17e8f960034177a91f7e8903654660bdd1cac (patch)
tree9895b2df097bc8240cfd3867ec526efc524a9d14 /plugins/irda
parent7fc8a5255a5a474fab912bd7df830f2bf52fc0dd (diff)
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/irda')
-rw-r--r--plugins/irda/packet-irda.c12
1 files changed, 7 insertions, 5 deletions
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