diff options
author | Christian Ambach <ambi@samba.org> | 2012-03-22 18:12:07 +0100 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-03-22 20:14:34 +0100 |
commit | 8718c7b88de993cef66c2a26ff1addd52b30b05c (patch) | |
tree | 67b71ef28d13cfc9c196d34728ba7a0c51947fed /source3 | |
parent | 0a37ca5210c8591fc12a6560d3c5fc3ccdeceede (diff) | |
download | samba-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')
-rw-r--r-- | source3/modules/vfs_gpfs.c | 6 | ||||
-rw-r--r-- | source3/modules/vfs_gpfs.h | 2 |
2 files changed, 4 insertions, 4 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; 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); |