From 7a287e07043cf937e22f8051c1a324d8a30c53e1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 8 Sep 2007 13:34:42 +0000 Subject: r25028: Fix more warnings. (This used to be commit 3aa7ee4a0d8837471deeaa1c5a1f4a0d2a14aa6e) --- source4/client/cifsddio.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'source4/client') diff --git a/source4/client/cifsddio.c b/source4/client/cifsddio.c index 7dc9b8d081..8623161752 100644 --- a/source4/client/cifsddio.c +++ b/source4/client/cifsddio.c @@ -149,16 +149,14 @@ struct cifs_handle #define IO_HANDLE_TO_SMB(h) ((struct cifs_handle *)(h)) -BOOL smb_seek_func(void * handle, uint64_t offset) +static bool smb_seek_func(void * handle, uint64_t offset) { IO_HANDLE_TO_SMB(handle)->offset = offset; return(True); } -BOOL smb_read_func(void * handle, - uint8_t * buf, - uint64_t wanted, - uint64_t * actual) +static bool smb_read_func(void * handle, uint8_t * buf, uint64_t wanted, + uint64_t * actual) { NTSTATUS ret; union smb_read r; @@ -193,10 +191,8 @@ BOOL smb_read_func(void * handle, return(True); } -BOOL smb_write_func(void * handle, - uint8_t * buf, - uint64_t wanted, - uint64_t * actual) +static bool smb_write_func(void * handle, uint8_t * buf, uint64_t wanted, + uint64_t * actual) { NTSTATUS ret; union smb_write w; -- cgit