summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-05 12:36:19 +0200
committerVolker Lendecke <vl@samba.org>2010-07-05 12:37:13 +0200
commit3278554b3e8864bc412926b67faf8a924a4416c7 (patch)
tree2109926e3841c375324bafdc93657b8c22eba38e /source3
parentdfc84ece9ddcaf510bac79e006f05dfdad9f2770 (diff)
downloadsamba-3278554b3e8864bc412926b67faf8a924a4416c7.tar.gz
samba-3278554b3e8864bc412926b67faf8a924a4416c7.tar.bz2
samba-3278554b3e8864bc412926b67faf8a924a4416c7.zip
s3: Make talloc_attrs() static
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/passdb/pdb_ldap.c2
2 files changed, 1 insertions, 2 deletions
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;