s3:winbindd: make idmap_find_domain() static.
authorMichael Adam <obnox@samba.org>
Tue, 27 Nov 2012 00:11:16 +0000 (01:11 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 3 Dec 2012 07:48:24 +0000 (08:48 +0100)
idmap_find_domain_with_sid() should be used instead

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/idmap.c
source3/winbindd/winbindd_proto.h

index 065b7e67dbb820a9d4e8d5572db9d6e949872923..5a690f15276f57c7709d83a085b3ead50c6c64ff 100644 (file)
@@ -367,7 +367,7 @@ static struct idmap_domain *idmap_passdb_domain(TALLOC_CTX *mem_ctx)
  * add_trusted_domain.
  */
 
-struct idmap_domain *idmap_find_domain(const char *domname)
+static struct idmap_domain *idmap_find_domain(const char *domname)
 {
        struct idmap_domain *result;
        int i;
index 5952bf96bc4af51936a768299d67c4a9608c2b39..7fe0fed5b660bff7e85b9fcc0e83f54c97ab0f43 100644 (file)
@@ -316,7 +316,6 @@ NTSTATUS winbindd_print_groupmembers(struct talloc_dict *members,
 
 void init_idmap_child(void);
 struct winbindd_child *idmap_child(void);
-struct idmap_domain *idmap_find_domain(const char *domname);
 struct idmap_domain *idmap_find_domain_with_sid(const char *domname,
                                                const struct dom_sid *sid);