git.samba.org
/
metze
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc74708
)
Generate prototype for plugin_reg_handoff()
author
Jakub Zawadzki
<darkjames-ws@darkjames.pl>
Fri, 27 Dec 2013 15:46:50 +0000
(15:46 -0000)
committer
Jakub Zawadzki
<darkjames-ws@darkjames.pl>
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]
svn path=/trunk/; revision=54475
tools/make-dissector-reg.py
patch
|
blob
|
history
diff --git
a/tools/make-dissector-reg.py
b/tools/make-dissector-reg.py
index 5a6012761c70751e56d28a3f36b449ec4c4262db..6850805082909dbeb3ce8914618d2699b67c40ce 100755
(executable)
--- 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)
{