aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-12-20 20:40:11 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2017-12-23 13:09:25 +0000
commit65276a4ebb734ffcd3e33defed23af9e637ec116 (patch)
tree26177db58a869d4f9c2289341e925c746fbdd775 /plugins
parentd5d815189d98745e3b33a6caadd4c2dc5648a114 (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 'plugins')
-rw-r--r--plugins/stats_tree/stats_tree_plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/stats_tree/stats_tree_plugin.c b/plugins/stats_tree/stats_tree_plugin.c
index d2c1df9df2..16d65526a3 100644
--- a/plugins/stats_tree/stats_tree_plugin.c
+++ b/plugins/stats_tree/stats_tree_plugin.c
@@ -35,7 +35,9 @@
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)
{
static tap_plugin plug;