From 94c33bdd72e22a9bb9e51b6acc15ae23087628e4 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Fri, 16 Oct 2009 19:06:29 +0200 Subject: util/strlist: Fix up "const" warnings in the string list and test code This work I did using suggestions by Jelmer. Signed-off-by: Stefan Metzmacher --- lib/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/util/util.h') diff --git a/lib/util/util.h b/lib/util/util.h index 159f812d98..e7ea0ba527 100644 --- a/lib/util/util.h +++ b/lib/util/util.h @@ -477,7 +477,7 @@ _PUBLIC_ char **str_list_copy(TALLOC_CTX *mem_ctx, const char **list); /** Return true if all the elements of the list match exactly. */ -_PUBLIC_ bool str_list_equal(const char **list1, const char **list2); +_PUBLIC_ bool str_list_equal(const char * const *list1, const char * const *list2); /** add an entry to a string list -- cgit