summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/cli_winreg.h
diff options
context:
space:
mode:
authorZach Loafman <zachary.loafman@isilon.com>2008-07-03 12:21:33 -0700
committerVolker Lendecke <vl@samba.org>2008-07-22 15:00:48 +0200
commit863a6aa07e543e30f2075a597129f6c39222beef (patch)
treecc6baa5ff81890025dfb33624852ecb2ae6d3add /source3/librpc/gen_ndr/cli_winreg.h
parent06d0790c0799112b89534a646e78d0cb38b06e20 (diff)
downloadsamba-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.h')
-rw-r--r--source3/librpc/gen_ndr/cli_winreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/cli_winreg.h b/source3/librpc/gen_ndr/cli_winreg.h
index 8fc7610b05..793a4ffc5b 100644
--- a/source3/librpc/gen_ndr/cli_winreg.h
+++ b/source3/librpc/gen_ndr/cli_winreg.h
@@ -168,7 +168,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);
NTSTATUS rpccli_winreg_AbortSystemShutdown(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
@@ -205,7 +205,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);
NTSTATUS rpccli_winreg_SaveKeyEx(struct rpc_pipe_client *cli,