summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_gpfs.c6
-rw-r--r--source3/modules/vfs_gpfs.h2
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);