diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-10-16 19:06:29 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-11-20 16:50:47 +0100 |
commit | 94c33bdd72e22a9bb9e51b6acc15ae23087628e4 (patch) | |
tree | d2a695190e2b163efbe135b69aa196f861a44d98 /lib/util/util.h | |
parent | eea5a166e766669b6945bb62c9202fb385179cd1 (diff) | |
download | samba-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.h')
-rw-r--r-- | lib/util/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |