summaryrefslogtreecommitdiff
path: root/lib/util/util_strlist.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-16 19:06:29 +0200
committerStefan Metzmacher <metze@samba.org>2009-11-20 16:50:47 +0100
commit94c33bdd72e22a9bb9e51b6acc15ae23087628e4 (patch)
treed2a695190e2b163efbe135b69aa196f861a44d98 /lib/util/util_strlist.c
parenteea5a166e766669b6945bb62c9202fb385179cd1 (diff)
downloadsamba-94c33bdd72e22a9bb9e51b6acc15ae23087628e4.tar.gz
samba-94c33bdd72e22a9bb9e51b6acc15ae23087628e4.tar.bz2
samba-94c33bdd72e22a9bb9e51b6acc15ae23087628e4.zip
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 <metze@samba.org>
Diffstat (limited to 'lib/util/util_strlist.c')
-rw-r--r--lib/util/util_strlist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c
index 8d69eef233..71998b9a5c 100644
--- a/lib/util/util_strlist.c
+++ b/lib/util/util_strlist.c
@@ -264,7 +264,8 @@ _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)
{
int i;