diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-10-31 10:40:58 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-10-31 10:40:58 +0000 |
commit | cc523660e7c2047c75e9e4eedd272f42817304ae (patch) | |
tree | 02f5ddaeac4e94b9361c1b64476885f52747d6c8 /ethereal_gen.py | |
parent | f34850f727266ad60007749c95d0384855bcfcd5 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4117 f5534014-38df-0310-8fa8-9805f1628bb7
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 |