aboutsummaryrefslogtreecommitdiffstats
path: root/tools/make-dissector-reg.py
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-27 15:46:50 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-12-27 15:46:50 +0000
commit6bb97fa32792a301887433e431125ded5cfc6aa5 (patch)
tree128bdfa8f51c1855dbdb18183e9ae556b03896a9 /tools/make-dissector-reg.py
parentcc74708a796d38f11993df8061d833dfe052489e (diff)
Generate prototype for plugin_reg_handoff()
This should fix warnings: plugin.c:XX:1: warning: no previous prototype for 'plugin_reg_handoff' [-Wmissing-prototypes] svn path=/trunk/; revision=54475
Diffstat (limited to 'tools/make-dissector-reg.py')
-rwxr-xr-xtools/make-dissector-reg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py
index 5a6012761c..6850805082 100755
--- a/tools/make-dissector-reg.py
+++ b/tools/make-dissector-reg.py
@@ -234,6 +234,8 @@ reg_code += "}\n"
# Make the routine to register all protocol handoffs
if registertype == "plugin" or registertype == "plugin_wtap":
reg_code += """
+WS_DLL_PUBLIC_DEF void plugin_reg_handoff(void);
+
WS_DLL_PUBLIC_DEF void
plugin_reg_handoff(void)
{