From e2b3aad8174daede0248ce96df624e575867cfd8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 12 Feb 2008 22:05:39 +0100 Subject: Collect all init_lsa_string varients in one place. Guenther (This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394) --- source3/utils/net_domain.c | 5 ----- source3/utils/net_rpc.c | 5 ----- source3/utils/net_rpc_join.c | 6 ------ source3/utils/net_rpc_rights.c | 5 ----- 4 files changed, 21 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_domain.c b/source3/utils/net_domain.c index 69994b53df..90d28b5e6e 100644 --- a/source3/utils/net_domain.c +++ b/source3/utils/net_domain.c @@ -37,11 +37,6 @@ goto done; \ } -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - /******************************************************************* Leave an AD domain. Windows XP disables the machine account. We'll try the same. The old code would do an LDAP delete. diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c index 968ae9d9b5..4967eb4cff 100644 --- a/source3/utils/net_rpc.c +++ b/source3/utils/net_rpc.c @@ -23,11 +23,6 @@ #include "includes.h" #include "utils/net.h" -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - static int net_mode_share; static bool sync_files(struct copy_clistate *cp_clistate, const char *mask); diff --git a/source3/utils/net_rpc_join.c b/source3/utils/net_rpc_join.c index a20dc9a0c4..f08dc66d3c 100644 --- a/source3/utils/net_rpc_join.c +++ b/source3/utils/net_rpc_join.c @@ -34,12 +34,6 @@ goto done; \ } -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - - /** * confirm that a domain join is still valid * diff --git a/source3/utils/net_rpc_rights.c b/source3/utils/net_rpc_rights.c index e110c412e0..de6e14ebad 100644 --- a/source3/utils/net_rpc_rights.c +++ b/source3/utils/net_rpc_rights.c @@ -19,11 +19,6 @@ #include "includes.h" #include "utils/net.h" -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - /******************************************************************** ********************************************************************/ -- cgit