diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-12-20 20:40:11 +0000 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2017-12-23 13:09:25 +0000 |
commit | 65276a4ebb734ffcd3e33defed23af9e637ec116 (patch) | |
tree | 26177db58a869d4f9c2289341e925c746fbdd775 /tools/make-plugin-reg.py | |
parent | d5d815189d98745e3b33a6caadd4c2dc5648a114 (diff) |
plugins: fix no previous prototype for function 'plugin_register' [-Wmissing-prototypes]
Change-Id: I84f1fd02f99e7d4757e418539f932c550e409f92
Reviewed-on: https://code.wireshark.org/review/24920
Petri-Dish: João Valverde <j@v6e.pt>
Reviewed-by: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools/make-plugin-reg.py')
-rwxr-xr-x | tools/make-plugin-reg.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/make-plugin-reg.py b/tools/make-plugin-reg.py index 63e0c0609b..12bf86ae01 100755 --- a/tools/make-plugin-reg.py +++ b/tools/make-plugin-reg.py @@ -123,7 +123,9 @@ reg_code += """ WS_DLL_PUBLIC_DEF const gchar plugin_version[] = PLUGIN_VERSION; WS_DLL_PUBLIC_DEF const gchar plugin_release[] = VERSION_RELEASE; -WS_DLL_PUBLIC_DEF void plugin_register(void) +WS_DLL_PUBLIC void plugin_register(void); + +void plugin_register(void) { """ |