summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_domain.c5
-rw-r--r--source3/utils/net_rpc.c5
-rw-r--r--source3/utils/net_rpc_join.c6
-rw-r--r--source3/utils/net_rpc_rights.c5
4 files changed, 0 insertions, 21 deletions
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;
-}
-
/********************************************************************
********************************************************************/