diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-01-05 12:06:36 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-02-16 05:10:49 +0000 |
commit | 95dee44a77c8779776ce602b09fb33c703c4a32e (patch) | |
tree | a51cf7022e234111608facbe550b9795c96696e9 /epan/color_filters.h | |
parent | 076784cdaee4721e4bce94824b5b92db9888d28a (diff) |
const gpointer -> gconstpointer
'const gpointer' is the same as 'void *const'. Replace with gconstpointer
where straightforward (assuming that was the intent) and use gpointer everywhere
else for clarity (that does not change *API* constness contract; it just means
a variable is not declared immutable inside the called funtion).
Change-Id: Iad2ef13205bfb4ff0056b2bce056353b58942267
Reviewed-on: https://code.wireshark.org/review/13945
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/color_filters.h')
-rw-r--r-- | epan/color_filters.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/color_filters.h b/epan/color_filters.h index a777e96632..8618b150da 100644 --- a/epan/color_filters.h +++ b/epan/color_filters.h @@ -143,7 +143,7 @@ WS_DLL_PUBLIC void color_filters_clone(gpointer user_data, color_filter_add_cb_f * @param add_cb the callback function to add color filter * @return TRUE, if read succeeded */ -WS_DLL_PUBLIC gboolean color_filters_import(const gchar *path, const gpointer user_data, gchar** err_msg, color_filter_add_cb_func add_cb); +WS_DLL_PUBLIC gboolean color_filters_import(const gchar *path, gpointer user_data, gchar **err_msg, color_filter_add_cb_func add_cb); /** Read filters from the global filter file (not the users file). * |