From 93e04e941e15034c8e7aa1faedc74ce536049153 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 22 Mar 2005 18:07:58 +0000 Subject: r5961: final round of compiler warning fixes based on feedback from Jason Mader (This used to be commit 9e77da9320c900b3e437d534e31fa5ff81e9acfd) --- source3/rpcclient/cmd_shutdown.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3/rpcclient/cmd_shutdown.c') diff --git a/source3/rpcclient/cmd_shutdown.c b/source3/rpcclient/cmd_shutdown.c index e42ec30ac1..b0b92949c2 100644 --- a/source3/rpcclient/cmd_shutdown.c +++ b/source3/rpcclient/cmd_shutdown.c @@ -24,6 +24,9 @@ #include "includes.h" #include "rpcclient.h" +#if 0 /* don't uncomment this unless you remove the getopt() calls */ + /* use net rpc shutdown instead */ + /**************************************************************************** nt shutdown init ****************************************************************************/ @@ -96,6 +99,7 @@ static NTSTATUS cmd_shutdown_abort(struct cli_state *cli, return result; } +#endif /* List of commands exported by this module */ @@ -103,10 +107,12 @@ struct cmd_set shutdown_commands[] = { { "SHUTDOWN" }, +#if 0 { "shutdowninit", RPC_RTYPE_NTSTATUS, cmd_shutdown_init, NULL, PI_SHUTDOWN, "Remote Shutdown (over shutdown pipe)", "syntax: shutdown [-m message] [-t timeout] [-r] [-h] [-f] (-r == reboot, -h == halt, -f == force)" }, { "shutdownabort", RPC_RTYPE_NTSTATUS, cmd_shutdown_abort, NULL, PI_SHUTDOWN, "Abort Shutdown (over shutdown pipe)", "syntax: shutdownabort" }, +#endif { NULL } }; -- cgit