From ab25af0e18d883757775a85f005775a79a86dcc8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 8 Feb 2004 11:26:46 +0000 Subject: [PATCH] nsswitch/winbindd_util.c: add static smbd/uid.c: remove unused function Andrew Bartlett --- source/nsswitch/winbindd_util.c | 2 +- source/smbd/uid.c | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/source/nsswitch/winbindd_util.c b/source/nsswitch/winbindd_util.c index 076ab1a2fc3..eecb36a30fc 100644 --- a/source/nsswitch/winbindd_util.c +++ b/source/nsswitch/winbindd_util.c @@ -200,7 +200,7 @@ void rescan_trusted_domains( void ) rescan our domains looking for new trusted domains ********************************************************************/ -void add_trusted_domains( struct winbindd_domain *domain ) +static void add_trusted_domains( struct winbindd_domain *domain ) { TALLOC_CTX *mem_ctx; NTSTATUS result; diff --git a/source/smbd/uid.c b/source/smbd/uid.c index 09cf8995220..f3d9004dd9f 100644 --- a/source/smbd/uid.c +++ b/source/smbd/uid.c @@ -310,17 +310,6 @@ static void pop_conn_ctx(void) ctx_p->vuid = UID_FIELD_INVALID; } -void init_conn_ctx(void) -{ - int i; - - /* Initialise connection context stack */ - for (i = 0; i < MAX_SEC_CTX_DEPTH; i++) { - conn_ctx_stack[i].conn = NULL; - conn_ctx_stack[i].vuid = UID_FIELD_INVALID; - } -} - /**************************************************************************** Temporarily become a root user. Must match with unbecome_root(). Saves and restores the connection context. -- 2.11.4.GIT