summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-12 02:27:38 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-12 02:27:38 +0200
commitc4d3dc849f48a75653d1b16031e9c0657df4d098 (patch)
tree1384cee5ff3b1473d0b8f526ef9b861b10490767 /lib/util
parentd7371dae24a8ec341713d004c2ac9444ec4b14de (diff)
downloadsamba-c4d3dc849f48a75653d1b16031e9c0657df4d098.tar.gz
samba-c4d3dc849f48a75653d1b16031e9c0657df4d098.tar.bz2
samba-c4d3dc849f48a75653d1b16031e9c0657df4d098.zip
Add extra const.
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_strlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/util_strlist.c b/lib/util/util_strlist.c
index f576024cd1..b069a11e38 100644
--- 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 */ ;