From 8718c7b88de993cef66c2a26ff1addd52b30b05c Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 22 Mar 2012 18:12:07 +0100 Subject: s3:vfs_gpfs: fix some compiler warnings Autobuild-User: Christian Ambach Autobuild-Date: Thu Mar 22 20:14:34 CET 2012 on sn-devel-104 --- source3/modules/vfs_gpfs.c | 6 +++--- source3/modules/vfs_gpfs.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') 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; diff --git a/source3/modules/vfs_gpfs.h b/source3/modules/vfs_gpfs.h index dfa4d4358f..879b4968c9 100644 --- a/source3/modules/vfs_gpfs.h +++ b/source3/modules/vfs_gpfs.h @@ -40,4 +40,4 @@ int get_gpfs_quota(const char *pathname, int type, int id, int get_gpfs_fset_id(const char *pathname, int *fset_id); void init_gpfs(void); -void smbd_gpfs_lib_init(); +void smbd_gpfs_lib_init(void); -- cgit