git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add extra const.
[ira/wip.git]
/
lib
/
util
/
util_strlist.c
diff --git
a/lib/util/util_strlist.c
b/lib/util/util_strlist.c
index f576024cd18fa2bcf138819857ec52436b29583e..b069a11e38a9e137cd33e9b75fcfdbc3f8ec7063 100644
(file)
--- a/
lib/util/util_strlist.c
+++ b/
lib/util/util_strlist.c
@@
-187,7
+187,7
@@
_PUBLIC_ char *str_list_join_shell(TALLOC_CTX *mem_ctx, const char **list, char
/**
return the number of elements in a string list
*/
-_PUBLIC_ size_t str_list_length(const char **list)
+_PUBLIC_ size_t str_list_length(const char *
const
*list)
{
size_t ret;
for (ret=0;list && list[ret];ret++) /* noop */ ;