summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2013-11-14 11:49:03 -0700
committerChristof Schmitt <cs@samba.org>2013-11-15 18:05:41 +0100
commitf77195ace735b91addc0e0a46197d19eb3d6bbfc (patch)
tree21c195ba309b088aa398783f463b882d89ae9dbe
parentfca52bdcad14cf7d1a150e1cae7d90cb70d2e552 (diff)
downloadsamba-f77195ace735b91addc0e0a46197d19eb3d6bbfc.tar.gz
samba-f77195ace735b91addc0e0a46197d19eb3d6bbfc.tar.xz
samba-f77195ace735b91addc0e0a46197d19eb3d6bbfc.zip
winbind: Make centry_start static
centry_start is only used in winbindd_cache.c Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Autobuild-User(master): Christof Schmitt <cs@samba.org> Autobuild-Date(master): Fri Nov 15 18:05:41 CET 2013 on sn-devel-104
-rw-r--r--source3/winbindd/winbindd_cache.c3
-rw-r--r--source3/winbindd/winbindd_proto.h1
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 267cefc1e01..276ec8e4ab9 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 cfc19d03ed1..07f4e81dfd0 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,