[PATCH] winbind: Make centry_start static
Christof Schmitt
cs at samba.org
Thu Nov 14 12:49:00 MST 2013
centry_start is only used in winbindd_cache.c
Signed-off-by: Christof Schmitt <cs at samba.org>
---
source3/winbindd/winbindd_cache.c | 3 ++-
source3/winbindd/winbindd_proto.h | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 267cefc..276ec8e 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -886,7 +886,8 @@ static void centry_put_time(struct cache_entry *centry, time_t t)
/*
start a centry for output. When finished, call centry_end()
*/
-struct cache_entry *centry_start(struct winbindd_domain *domain, NTSTATUS status)
+static struct cache_entry *centry_start(struct winbindd_domain *domain,
+ NTSTATUS status)
{
struct cache_entry *centry;
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index cfc19d0..07f4e81 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -57,7 +57,6 @@ NTSTATUS rpc_lookup_sids(TALLOC_CTX *mem_ctx,
/* The following definitions come from winbindd/winbindd_cache.c */
-struct cache_entry *centry_start(struct winbindd_domain *domain, NTSTATUS status);
NTSTATUS wcache_cached_creds_exist(struct winbindd_domain *domain, const struct dom_sid *sid);
NTSTATUS wcache_get_creds(struct winbindd_domain *domain,
TALLOC_CTX *mem_ctx,
--
1.7.1
More information about the samba-technical
mailing list