aboutsummaryrefslogtreecommitdiffstats
path: root/ui/decode_as_utils.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-01-05 12:06:36 +0000
committerAnders Broman <a.broman58@gmail.com>2016-02-16 05:10:49 +0000
commit95dee44a77c8779776ce602b09fb33c703c4a32e (patch)
treea51cf7022e234111608facbe550b9795c96696e9 /ui/decode_as_utils.c
parent076784cdaee4721e4bce94824b5b92db9888d28a (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 'ui/decode_as_utils.c')
-rw-r--r--ui/decode_as_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/decode_as_utils.c b/ui/decode_as_utils.c
index d905a76547..0d9788b36f 100644
--- a/ui/decode_as_utils.c
+++ b/ui/decode_as_utils.c
@@ -183,7 +183,7 @@ load_decode_as_entries(void)
void
decode_build_reset_list (const gchar *table_name, ftenum_t selector_type,
- const gpointer key, gpointer value _U_,
+ gpointer key, gpointer value _U_,
gpointer user_data _U_)
{
dissector_delete_item_t *item;