diff options
author | Tim Potter <tpot@samba.org> | 2003-02-25 06:24:13 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-02-25 06:24:13 +0000 |
commit | 3a2f56cb630a7566ef0a70052b3102651bf653cc (patch) | |
tree | 1a76017aa0d4bc52de8b3d78a71c83d6409936e2 /source3/client/client.c | |
parent | 589371e1d5844be9ea0da4c674635ccc42ab9498 (diff) | |
download | samba-3a2f56cb630a7566ef0a70052b3102651bf653cc.tar.gz samba-3a2f56cb630a7566ef0a70052b3102651bf653cc.tar.bz2 samba-3a2f56cb630a7566ef0a70052b3102651bf653cc.zip |
Fixed up some const related compiler warnings.
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)
Diffstat (limited to 'source3/client/client.c')
-rw-r--r-- | source3/client/client.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index 5da12fd984..b95d4d877c 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -51,7 +51,8 @@ static int max_protocol = PROTOCOL_NT1; extern pstring user_socket_options; static int process_tok(fstring tok); -static int cmd_help(void); +static NTSTATUS cmd_help(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc, + const char **argv); /* 30 second timeout on most commands */ #define CLIENT_TIMEOUT (30*1000) @@ -979,7 +980,8 @@ static BOOL do_altname(char *name) /**************************************************************************** Exit client. ****************************************************************************/ -static int cmd_quit(void) +static NTSTATUS cmd_quit(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc, + const char **argv) { cli_shutdown(cli); exit(0); @@ -2149,7 +2151,8 @@ static int process_tok(fstring tok) /**************************************************************************** help ****************************************************************************/ -static int cmd_help(void) +static NTSTATUS cmd_help(struct cli_state *cli, TALLOC_CTX *mem_ctx, int argc, + const char **argv) { int i=0,j; fstring buf; |