diff options
author | Richard Sharpe <sharpe@samba.org> | 2003-01-13 20:04:40 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2003-01-13 20:04:40 +0000 |
commit | fd847aa93690eb72f0437a8d22c03b222eb2a016 (patch) | |
tree | 08d7af552cb433c48538a346d4dbf09d5fe52b77 /source/rpc_client/cli_reg.c | |
parent | f8a915b14d63e4fdb99235053eeb896ef9492068 (diff) | |
download | samba-fd847aa93690eb72f0437a8d22c03b222eb2a016.tar.gz |
Now that I am running config.developer, I decided to get rif of some warnings:
1. reboot in parse_reg and cli_reg was shadowing a definition on FreeBSD
4.3 from system includes.
2. Added a bit of const to places.
3. Made sure internal functions were declared where needed.
Diffstat (limited to 'source/rpc_client/cli_reg.c')
-rw-r--r-- | source/rpc_client/cli_reg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_reg.c b/source/rpc_client/cli_reg.c index 1e832954145..5cfbf68fb34 100644 --- a/source/rpc_client/cli_reg.c +++ b/source/rpc_client/cli_reg.c @@ -28,7 +28,7 @@ /* Shutdown a server */ NTSTATUS cli_reg_shutdown(struct cli_state * cli, TALLOC_CTX *mem_ctx, - const char *msg, uint32 timeout, BOOL reboot, + const char *msg, uint32 timeout, BOOL do_reboot, BOOL force) { prs_struct qbuf; @@ -47,7 +47,7 @@ NTSTATUS cli_reg_shutdown(struct cli_state * cli, TALLOC_CTX *mem_ctx, /* Marshall data and send request */ - init_reg_q_shutdown(&q_s, msg, timeout, reboot, force); + init_reg_q_shutdown(&q_s, msg, timeout, do_reboot, force); if (!reg_io_q_shutdown("", &q_s, &qbuf, 0) || !rpc_api_pipe_req(cli, REG_SHUTDOWN, &qbuf, &rbuf)) |