Wireshark-dev: [Wireshark-dev] Patch: epan/stats_tree_priv.h

From: Gisle Vanem <gvanem@xxxxxxxxxxxx>
Date: Thu, 31 May 2012 21:13:50 +0200
The implementation of 'stats_tree_get_cfg_by_abbr()' takes a
'const char *', so why shouldn't the prototype do the same?

--- SVN-Latest\epan\stats_tree_priv.h   Thu Feb 23 01:51:50 2012
+++ epan\stats_tree_priv.h      Thu May 31 13:08:15 2012
@@ -179,7 +179,7 @@
extern gchar *stats_tree_get_abbr(const gchar *optarg);

/** obtains a stats tree from the registry given its abbr */
-extern stats_tree_cfg *stats_tree_get_cfg_by_abbr(gchar *abbr);
+extern stats_tree_cfg *stats_tree_get_cfg_by_abbr(const char *abbr);

/** extracts node data as strings from a stat_node into
   the buffers given by value, rate and precent

--gv