git.samba.org
/
gd
/
samba
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util/strlist: Fix up "const" warnings in the string list and test code
[gd/samba/.git]
/
lib
/
util
/
util_strlist.c
diff --git
a/lib/util/util_strlist.c
b/lib/util/util_strlist.c
index 8d69eef23336fd8830684b4b73b664260222295f..71998b9a5c4110dd157401a8eefd67e18df6dd0e 100644
(file)
--- 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;