summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-02-25 23:28:28 +0000
committerTim Potter <tpot@samba.org>2003-02-25 23:28:28 +0000
commit64e53c9b22f23506acfd2fb4552b7c43129631a6 (patch)
tree0db7dea6d848a0368991a8633d02bab9e76f5cca
parent7c7d796b6d292a7c98b099ad1e1adbc4f2363512 (diff)
downloadsamba-64e53c9b22f23506acfd2fb4552b7c43129631a6.tar.gz
samba-64e53c9b22f23506acfd2fb4552b7c43129631a6.tar.bz2
samba-64e53c9b22f23506acfd2fb4552b7c43129631a6.zip
Fix breakage done by myself yesterday.
(This used to be commit f4492de2d668082df6ae06933d12a3cfe120d403)
-rw-r--r--source3/client/client.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index b95d4d877c..5da12fd984 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -51,8 +51,7 @@ static int max_protocol = PROTOCOL_NT1;
extern pstring user_socket_options;
static int process_tok(fstring tok);
-static NTSTATUS cmd_help(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc,
- const char **argv);
+static int cmd_help(void);
/* 30 second timeout on most commands */
#define CLIENT_TIMEOUT (30*1000)
@@ -980,8 +979,7 @@ static BOOL do_altname(char *name)
/****************************************************************************
Exit client.
****************************************************************************/
-static NTSTATUS cmd_quit(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc,
- const char **argv)
+static int cmd_quit(void)
{
cli_shutdown(cli);
exit(0);
@@ -2151,8 +2149,7 @@ static int process_tok(fstring tok)
/****************************************************************************
help
****************************************************************************/
-static NTSTATUS cmd_help(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc,
- const char **argv)
+static int cmd_help(void)
{
int i=0,j;
fstring buf;