Generate prototype for plugin_reg_handoff()
authordarkjames <darkjames@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 27 Dec 2013 15:46:50 +0000 (15:46 +0000)
committerdarkjames <darkjames@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 27 Dec 2013 15:46:50 +0000 (15:46 +0000)
This should fix warnings:
 plugin.c:XX:1: warning: no previous prototype for 'plugin_reg_handoff' [-Wmissing-prototypes]

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@54475 f5534014-38df-0310-8fa8-9805f1628bb7

tools/make-dissector-reg.py

index 5a6012761c70751e56d28a3f36b449ec4c4262db..6850805082909dbeb3ce8914618d2699b67c40ce 100755 (executable)
@@ -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)
 {