summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-01-13 20:04:40 +0000
committerRichard Sharpe <sharpe@samba.org>2003-01-13 20:04:40 +0000
commit16925589eb1f12ebe6e493774fd4306a827feb73 (patch)
treec60abed080d00651e5f23060a78a1f3fb4613f33 /source3/rpc_parse
parent071af8f007efc20c23959d140a87cc09363aae83 (diff)
downloadsamba-16925589eb1f12ebe6e493774fd4306a827feb73.tar.gz
samba-16925589eb1f12ebe6e493774fd4306a827feb73.tar.bz2
samba-16925589eb1f12ebe6e493774fd4306a827feb73.zip
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. (This used to be commit fd847aa93690eb72f0437a8d22c03b222eb2a016)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_reg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_reg.c b/source3/rpc_parse/parse_reg.c
index 456fad69b4..b4d20bf2ba 100644
--- a/source3/rpc_parse/parse_reg.c
+++ b/source3/rpc_parse/parse_reg.c
@@ -1737,7 +1737,7 @@ BOOL reg_io_r_open_entry(const char *desc, REG_R_OPEN_ENTRY *r_r, prs_struct *p
Inits a structure.
********************************************************************/
void init_reg_q_shutdown(REG_Q_SHUTDOWN * q_s, const char *msg,
- uint32 timeout, BOOL reboot, BOOL force)
+ uint32 timeout, BOOL do_reboot, BOOL force)
{
int msg_len;
msg_len = strlen(msg);
@@ -1751,7 +1751,7 @@ void init_reg_q_shutdown(REG_Q_SHUTDOWN * q_s, const char *msg,
q_s->timeout = timeout;
- q_s->reboot = reboot ? 1 : 0;
+ q_s->reboot = do_reboot ? 1 : 0;
q_s->force = force ? 1 : 0;
}