From 65d9c473f035290b1b076268332c399125f048ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Tue, 21 Aug 2018 15:18:56 +0100 Subject: plugins: Minor interface improvement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- plugins/epan/stats_tree/stats_tree_plugin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/epan') 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); -- cgit v1.2.3