aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/giop
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-10-31 10:40:58 +0000
committerGuy Harris <guy@alum.mit.edu>2001-10-31 10:40:58 +0000
commit97a05828cd6320744f7c305516b7bf87c422eb23 (patch)
tree02f5ddaeac4e94b9361c1b64476885f52747d6c8 /plugins/giop
parente829a56e24285b288d957ded274db07e88c50d95 (diff)
Sigh. Well, if you make the function declarations external, that means
that they're external when the plugin is compiled, and there's no definition to satisfy the extern, so plugins fail to compile. Add a "plugins/plugin_api_defs.h" header file that defines them, and include that in one (and only one) source file for a particular plugin. svn path=/trunk/; revision=4117
Diffstat (limited to 'plugins/giop')
-rw-r--r--plugins/giop/packet-coseventcomm.c2
-rw-r--r--plugins/giop/packet-cosnaming.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/giop/packet-coseventcomm.c b/plugins/giop/packet-coseventcomm.c
index 5882102482..da88c46bbc 100644
--- a/plugins/giop/packet-coseventcomm.c
+++ b/plugins/giop/packet-coseventcomm.c
@@ -64,6 +64,8 @@
#include "proto.h"
#include "packet-giop.h"
+#include "plugins/plugin_api_defs.h"
+
#ifndef __ETHEREAL_STATIC__
G_MODULE_EXPORT const gchar version[] = "0.0.1";
#endif
diff --git a/plugins/giop/packet-cosnaming.c b/plugins/giop/packet-cosnaming.c
index 54b846d96a..cc76a50c63 100644
--- a/plugins/giop/packet-cosnaming.c
+++ b/plugins/giop/packet-cosnaming.c
@@ -65,6 +65,8 @@
#include "proto.h"
#include "packet-giop.h"
+#include "plugins/plugin_api_defs.h"
+
#ifndef __ETHEREAL_STATIC__
G_MODULE_EXPORT const gchar version[] = "0.0.1";
#endif