mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
Fix warning, prototype.
This commit is contained in:
parent
c4d3dc849f
commit
5237369ad8
@ -1662,7 +1662,7 @@ int fstr_sprintf(fstring s, const char *fmt, ...);
|
||||
char **str_list_make(TALLOC_CTX *mem_ctx, const char *string, const char *sep);
|
||||
char **str_list_copy(TALLOC_CTX *mem_ctx, const char **list);
|
||||
bool str_list_compare(char **list1, char **list2);
|
||||
size_t str_list_length( const char **list );
|
||||
size_t str_list_length( const char * const*list );
|
||||
bool str_list_sub_basic( char **list, const char *smb_name,
|
||||
const char *domain_name );
|
||||
bool str_list_substitute(char **list, const char *pattern, const char *insert);
|
||||
|
@ -491,7 +491,7 @@ static const struct {
|
||||
**/
|
||||
_PUBLIC_ void set_socket_options(int fd, const char *options)
|
||||
{
|
||||
const char **options_list = str_list_make(NULL, options, " \t,");
|
||||
const char **options_list = (const char **)str_list_make(NULL, options, " \t,");
|
||||
int j;
|
||||
|
||||
if (!options_list)
|
||||
|
Loading…
x
Reference in New Issue
Block a user