diff options
author | Zach Loafman <zachary.loafman@isilon.com> | 2008-07-03 12:21:33 -0700 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-07-22 15:00:48 +0200 |
commit | 863a6aa07e543e30f2075a597129f6c39222beef (patch) | |
tree | cc6baa5ff81890025dfb33624852ecb2ae6d3add /source3/librpc/gen_ndr/cli_winreg.c | |
parent | 06d0790c0799112b89534a646e78d0cb38b06e20 (diff) | |
download | samba-863a6aa07e543e30f2075a597129f6c39222beef.tar.gz samba-863a6aa07e543e30f2075a597129f6c39222beef.tar.bz2 samba-863a6aa07e543e30f2075a597129f6c39222beef.zip |
Fix warnings on FreeBSD-based platforms
Fix two shadowed declaration warnings on FreeBSD-based platform:
'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in
netinet/tcp.h.
(This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_winreg.c')
-rw-r--r-- | source3/librpc/gen_ndr/cli_winreg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/librpc/gen_ndr/cli_winreg.c b/source3/librpc/gen_ndr/cli_winreg.c index fe8c4f7726..29f7e50c45 100644 --- a/source3/librpc/gen_ndr/cli_winreg.c +++ b/source3/librpc/gen_ndr/cli_winreg.c @@ -1212,7 +1212,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli, struct initshutdown_String *message /* [in] [unique] */, uint32_t timeout /* [in] */, uint8_t force_apps /* [in] */, - uint8_t reboot /* [in] */, + uint8_t do_reboot /* [in] */, WERROR *werror) { struct winreg_InitiateSystemShutdown r; @@ -1223,7 +1223,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdown(struct rpc_pipe_client *cli, r.in.message = message; r.in.timeout = timeout; r.in.force_apps = force_apps; - r.in.reboot = reboot; + r.in.do_reboot = do_reboot; if (DEBUGLEVEL >= 10) { NDR_PRINT_IN_DEBUG(winreg_InitiateSystemShutdown, &r); @@ -1501,7 +1501,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli, struct initshutdown_String *message /* [in] [unique] */, uint32_t timeout /* [in] */, uint8_t force_apps /* [in] */, - uint8_t reboot /* [in] */, + uint8_t do_reboot /* [in] */, uint32_t reason /* [in] */, WERROR *werror) { @@ -1513,7 +1513,7 @@ NTSTATUS rpccli_winreg_InitiateSystemShutdownEx(struct rpc_pipe_client *cli, r.in.message = message; r.in.timeout = timeout; r.in.force_apps = force_apps; - r.in.reboot = reboot; + r.in.do_reboot = do_reboot; r.in.reason = reason; if (DEBUGLEVEL >= 10) { |