aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2018-08-21 15:18:56 +0100
committerJoão Valverde <j@v6e.pt>2018-08-21 19:56:12 +0000
commit65d9c473f035290b1b076268332c399125f048ca (patch)
treee6d4236dd6436e38ad7f6a586fecc7d563200426 /plugins
parent0410a522d5b5e0b7c534146628770f9801e314e2 (diff)
plugins: Minor interface improvement
Change the plugin compatibility check to make it more convenient to define and check the major.minor Wireshark version. Change-Id: I2a6d2a746682c29504311cce5c457e0a852c3daf Reviewed-on: https://code.wireshark.org/review/29224 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/epan/stats_tree/stats_tree_plugin.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/epan/stats_tree/stats_tree_plugin.c b/plugins/epan/stats_tree/stats_tree_plugin.c
index 3074861a23..25a419185b 100644
--- a/plugins/epan/stats_tree/stats_tree_plugin.c
+++ b/plugins/epan/stats_tree/stats_tree_plugin.c
@@ -21,7 +21,8 @@
#include "pinfo_stats_tree.h"
WS_DLL_PUBLIC_DEF const gchar plugin_version[] = PLUGIN_VERSION;
-WS_DLL_PUBLIC_DEF const gchar plugin_release[] = VERSION_RELEASE;
+WS_DLL_PUBLIC_DEF const int plugin_want_major = VERSION_MAJOR;
+WS_DLL_PUBLIC_DEF const int plugin_want_minor = VERSION_MINOR;
WS_DLL_PUBLIC void plugin_register(void);