summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-05-03 21:42:04 +0200
committerGünther Deschner <gd@samba.org>2011-05-04 12:31:09 +0200
commitb8eaec6b666b1f0d3711540c492edd79cd02b1fe (patch)
tree6c80c33f06db8a844bba04b84d460ca8c1987de3
parent7febcb5ffeb2d92f2a4f8abe2c0dac91f5c8a53e (diff)
downloadsamba-b8eaec6b666b1f0d3711540c492edd79cd02b1fe.tar.gz
samba-b8eaec6b666b1f0d3711540c492edd79cd02b1fe.tar.bz2
samba-b8eaec6b666b1f0d3711540c492edd79cd02b1fe.zip
s3-vfs: make vfswrap_llistxattr and vfswrap_flistxattr static.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed May 4 12:31:10 CEST 2011 on sn-devel-104
-rw-r--r--source3/include/proto.h6
-rw-r--r--source3/modules/vfs_default.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index bb2c64b671..dfe44a141e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2093,12 +2093,6 @@ bool enumerate_domain_trusts( TALLOC_CTX *mem_ctx, const char *domain,
struct dom_sid **sids );
NTSTATUS change_trust_account_password( const char *domain, const char *remote_machine);
-/* The following definitions come from modules/vfs_default.c */
-
-ssize_t vfswrap_llistxattr(struct vfs_handle_struct *handle, const char *path, char *list, size_t size);
-ssize_t vfswrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size);
-NTSTATUS vfs_default_init(void);
-
/* The following definitions come from param/loadparm.c */
char *lp_smb_ports(void);
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index cf6e24fca0..5d6b512e5f 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1512,12 +1512,12 @@ static ssize_t vfswrap_listxattr(struct vfs_handle_struct *handle, const char *p
return sys_listxattr(path, list, size);
}
-ssize_t vfswrap_llistxattr(struct vfs_handle_struct *handle, const char *path, char *list, size_t size)
+static ssize_t vfswrap_llistxattr(struct vfs_handle_struct *handle, const char *path, char *list, size_t size)
{
return sys_llistxattr(path, list, size);
}
-ssize_t vfswrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size)
+static ssize_t vfswrap_flistxattr(struct vfs_handle_struct *handle, struct files_struct *fsp, char *list, size_t size)
{
return sys_flistxattr(fsp->fh->fd, list, size);
}