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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:[email protected]?subject=unsubscribe

Reply via email to