diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-10-31 10:40:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-10-31 10:40:58 +0000 |
commit | 97a05828cd6320744f7c305516b7bf87c422eb23 (patch) | |
tree | 02f5ddaeac4e94b9361c1b64476885f52747d6c8 /plugins/giop/packet-coseventcomm.c | |
parent | e829a56e24285b288d957ded274db07e88c50d95 (diff) | |
download | wireshark-97a05828cd6320744f7c305516b7bf87c422eb23.tar.gz wireshark-97a05828cd6320744f7c305516b7bf87c422eb23.tar.bz2 wireshark-97a05828cd6320744f7c305516b7bf87c422eb23.zip |
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/packet-coseventcomm.c')
-rw-r--r-- | plugins/giop/packet-coseventcomm.c | 2 |
1 files changed, 2 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 |