summaryrefslogtreecommitdiff
path: root/source4/client/cifsddio.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-09-08 13:34:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:05:41 -0500
commit7a287e07043cf937e22f8051c1a324d8a30c53e1 (patch)
treefc71bd59d3ce06427d666e8687f8e981c5d13e8c /source4/client/cifsddio.c
parentdccf3f99e45137b6cd18c1de1c79808ad67130d1 (diff)
downloadsamba-7a287e07043cf937e22f8051c1a324d8a30c53e1.tar.gz
samba-7a287e07043cf937e22f8051c1a324d8a30c53e1.tar.bz2
samba-7a287e07043cf937e22f8051c1a324d8a30c53e1.zip
r25028: Fix more warnings.
(This used to be commit 3aa7ee4a0d8837471deeaa1c5a1f4a0d2a14aa6e)
Diffstat (limited to 'source4/client/cifsddio.c')
-rw-r--r--source4/client/cifsddio.c14
1 files changed, 5 insertions, 9 deletions
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;