From 4210e08109d9bc24168740f5a8a52953c532df4a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 27 Nov 2012 01:11:16 +0100 Subject: s3:winbindd: make idmap_find_domain() static. idmap_find_domain_with_sid() should be used instead Signed-off-by: Michael Adam Reviewed-by: Stefan Metzmacher --- source3/winbindd/idmap.c | 2 +- source3/winbindd/winbindd_proto.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 065b7e67db..5a690f1527 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -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; diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 5952bf96bc..7fe0fed5b6 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -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); -- cgit