summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_gpfs.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-03-22 18:12:07 +0100
committerChristian Ambach <ambi@samba.org>2012-03-22 20:14:34 +0100
commit8718c7b88de993cef66c2a26ff1addd52b30b05c (patch)
tree67b71ef28d13cfc9c196d34728ba7a0c51947fed /source3/modules/vfs_gpfs.c
parent0a37ca5210c8591fc12a6560d3c5fc3ccdeceede (diff)
downloadsamba-8718c7b88de993cef66c2a26ff1addd52b30b05c.tar.gz
samba-8718c7b88de993cef66c2a26ff1addd52b30b05c.tar.bz2
samba-8718c7b88de993cef66c2a26ff1addd52b30b05c.zip
s3:vfs_gpfs: fix some compiler warnings
Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Thu Mar 22 20:14:34 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/modules/vfs_gpfs.c')
-rw-r--r--source3/modules/vfs_gpfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/modules/vfs_gpfs.c b/source3/modules/vfs_gpfs.c
index 204017d6fc..fce1b28c64 100644
--- a/source3/modules/vfs_gpfs.c
+++ b/source3/modules/vfs_gpfs.c
@@ -1259,7 +1259,7 @@ static int vfs_gpfs_ntimes(struct vfs_handle_struct *handle,
}
-int vfs_gpfs_fallocate(struct vfs_handle_struct *handle,
+static int vfs_gpfs_fallocate(struct vfs_handle_struct *handle,
struct files_struct *fsp, enum vfs_fallocate_mode mode,
SMB_OFF_T offset, SMB_OFF_T len)
{
@@ -1377,8 +1377,8 @@ static ssize_t vfs_gpfs_sendfile(vfs_handle_struct *handle, int tofd,
return SMB_VFS_NEXT_SENDFILE(handle, tofd, fsp, hdr, offset, n);
}
-int vfs_gpfs_connect(struct vfs_handle_struct *handle, const char *service,
- const char *user)
+static int vfs_gpfs_connect(struct vfs_handle_struct *handle,
+ const char *service, const char *user)
{
struct gpfs_config_data *config;
int ret;