winbind: Make centry_start static
authorChristof Schmitt <cs@samba.org>
Thu, 14 Nov 2013 18:49:03 +0000 (11:49 -0700)
committerChristof Schmitt <cs@samba.org>
Fri, 15 Nov 2013 17:05:41 +0000 (18:05 +0100)
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

source3/winbindd/winbindd_cache.c
source3/winbindd/winbindd_proto.h

index 267cefc1e01c42c0d9323200901144865e94ed9d..276ec8e4ab9bdff28c89b1b1fe1242cfc34842d2 100644 (file)
@@ -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;
 
index cfc19d03ed11c81753ab07224daf7e0baa1b5120..07f4e81dfd0810b522c5d9bcdf45a5ec00ba2886 100644 (file)
@@ -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,