summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/cmd_reg.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/rpcclient/cmd_reg.c')
-rw-r--r--source/rpcclient/cmd_reg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/rpcclient/cmd_reg.c b/source/rpcclient/cmd_reg.c
index c089917f9b6..5ffaeb38610 100644
--- a/source/rpcclient/cmd_reg.c
+++ b/source/rpcclient/cmd_reg.c
@@ -1,5 +1,6 @@
/*
- Unix SMB/CIFS implementation.
+ Unix SMB/Netbios implementation.
+ Version 1.9.
NT Domain Authentication SMB / MSRPC client
Copyright (C) Andrew Tridgell 1994-1997
Copyright (C) Luke Kenneth Casson Leighton 1996-1997
@@ -897,6 +898,8 @@ nt registry shutdown
static NTSTATUS cmd_reg_shutdown(struct cli_state *cli, TALLOC_CTX *mem_ctx,
int argc, char **argv)
{
+ extern char *optarg;
+ extern int optind;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
fstring msg;
uint32 timeout = 20;