s3: Make talloc_attrs() static
authorVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 10:36:19 +0000 (12:36 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 5 Jul 2010 10:37:13 +0000 (12:37 +0200)
source3/include/proto.h
source3/passdb/pdb_ldap.c

index 2374c2660dbe0f0080a48fc5a9d1b2e188bd59ee..a74373f49860da9aaf97f2870270119d5ef23887 100644 (file)
@@ -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);
index d2b4f4fbbad5c1ed51219b8266bf7e7e0510385d..6ac8f0df24a02b3064a080e695152191ab573eff 100644 (file)
@@ -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;