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 /ethereal_gen.py | |
parent | e829a56e24285b288d957ded274db07e88c50d95 (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 'ethereal_gen.py')
-rw-r--r-- | ethereal_gen.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ethereal_gen.py b/ethereal_gen.py index 15bc8614d7..3dd52d7e6c 100644 --- a/ethereal_gen.py +++ b/ethereal_gen.py @@ -1,6 +1,6 @@ # -*- python -*- # -# $Id: ethereal_gen.py,v 1.14 2001/10/25 19:57:06 guy Exp $ +# $Id: ethereal_gen.py,v 1.15 2001/10/31 10:40:53 guy Exp $ # # ethereal_gen.py (part of idl2eth) # @@ -2088,6 +2088,8 @@ for (i_@aname@=0; i_@aname@ < @aval@; i_@aname@++) { #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 |