summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-14 03:49:15 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-14 03:49:15 +0000
commitf5880f3fe85b0f745186bc248271879f8b248d3d (patch)
tree080a07d0f6a098b4754b1f64e396afb83a56c04e
parent5be0f34cc7915507f9db90af03bb8bf52aacec63 (diff)
downloadsamba-f5880f3fe85b0f745186bc248271879f8b248d3d.tar.gz
samba-f5880f3fe85b0f745186bc248271879f8b248d3d.tar.bz2
samba-f5880f3fe85b0f745186bc248271879f8b248d3d.zip
move opt_machine_pass to keep some compilers happy
(This used to be commit 39e11ef5b1090e51c6c447c8037a43b52e04b881)
-rw-r--r--source3/utils/net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 27826a3d53..d34ac21f39 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -72,6 +72,7 @@ int opt_flags = -1;
int opt_jobid = 0;
int opt_timeout = 0;
char *opt_target_workgroup = NULL;
+static int opt_machine_pass = 0;
BOOL opt_have_ip = False;
struct in_addr opt_dest_ip;
@@ -370,7 +371,6 @@ static struct functable net_func[] = {
poptContext pc;
static char *servicesf = dyn_CONFIGFILE;
static char *debuglevel = NULL;
- int opt_machine_pass = 0;
struct poptOption long_options[] = {
{"help", 'h', POPT_ARG_NONE, 0, 'h'},