1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Add extra const.

This commit is contained in:
Jelmer Vernooij 2008-10-12 02:27:38 +02:00
parent d7371dae24
commit c4d3dc849f

View File

@ -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 */ ;