diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2017-10-15 13:00:39 +0100 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2017-10-15 12:47:34 +0000 |
commit | 2563f9dd797e93f932ef66554b5bff9e5948a322 (patch) | |
tree | 371d18354fc7daae5924e5a3e711e3848d8dec38 /tools | |
parent | 9d49e1316689ae05d31efc866f04ac12cd051085 (diff) |
plugins: Fix -Wmissing-prototype for plugin_register()
Change-Id: I03d5ca01fb3bc8fdae86b44e857a4b9a3c7f48d2
Reviewed-on: https://code.wireshark.org/review/23927
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/make-dissector-reg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/make-dissector-reg.py b/tools/make-dissector-reg.py index 5d59f886bb..7b4c2962e6 100755 --- a/tools/make-dissector-reg.py +++ b/tools/make-dissector-reg.py @@ -202,6 +202,8 @@ if registertype == "plugin" or registertype == "plugin_wtap": #include "ws_symbol_export.h" #ifndef ENABLE_STATIC +WS_DLL_PUBLIC_DEF void plugin_register (void); + WS_DLL_PUBLIC_DEF const gchar plugin_version[] = VERSION; WS_DLL_PUBLIC_DEF const gchar plugin_release[] = VERSION_RELEASE; |