From 3278554b3e8864bc412926b67faf8a924a4416c7 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 5 Jul 2010 12:36:19 +0200 Subject: s3: Make talloc_attrs() static --- source3/include/proto.h | 1 - source3/passdb/pdb_ldap.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index 2374c2660d..a74373f498 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -4534,7 +4534,6 @@ int ldapsam_search_suffix_by_name(struct ldapsam_privates *ldap_state, const char *user, LDAPMessage ** result, const char **attr); -const char **talloc_attrs(TALLOC_CTX *mem_ctx, ...); NTSTATUS pdb_init_ldapsam_compat(struct pdb_methods **pdb_method, const char *location); NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location); NTSTATUS pdb_ldap_init(void); diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index d2b4f4fbba..6ac8f0df24 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -4346,7 +4346,7 @@ static char *get_ldap_filter(TALLOC_CTX *mem_ctx, const char *username) return result; } -const char **talloc_attrs(TALLOC_CTX *mem_ctx, ...) +static const char **talloc_attrs(TALLOC_CTX *mem_ctx, ...) { int i, num = 0; va_list ap; -- cgit