summaryrefslogtreecommitdiff
path: root/ui/profile.h
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-01-20 11:14:45 +0000
committerJoão Valverde <j@v6e.pt>2016-01-21 02:32:46 +0000
commitfaedd049af0b842a834402038280630bde658830 (patch)
tree6aba530684b1a0a28c1e717ea1510ddec6ed62bd /ui/profile.h
parent4dd3f668dc9a86be0353d9572d9624bb7cca9bf5 (diff)
downloadwireshark-faedd049af0b842a834402038280630bde658830.tar.gz
profile_name_is_valid() returns a malloced string [-Wcast-qual]
Change-Id: I584cdbf6a09e818e0d14c951defdde2fc96787f3 Reviewed-on: https://code.wireshark.org/review/13440 Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'ui/profile.h')
-rw-r--r--ui/profile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/profile.h b/ui/profile.h
index 6d4d26a887..b4beef5808 100644
--- a/ui/profile.h
+++ b/ui/profile.h
@@ -115,7 +115,7 @@ const gchar *get_profile_parent (const gchar *profilename);
* @param name Profile name
* @return NULL if the name is valid or an error message otherwise.
*/
-const gchar *profile_name_is_valid(const gchar *name);
+gchar *profile_name_is_valid(const gchar *name);
/** Remove the current profile.
*