From e02f1cd9b1fcea8c6c3ac6603688c669494d8d6b Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Mar 2011 00:43:05 +0100 Subject: source4/ntvfs/posix: Fix prototypes for all functions. --- source4/ntvfs/posix/pvfs_acl_nfs4.c | 2 ++ source4/ntvfs/posix/pvfs_acl_xattr.c | 2 ++ source4/ntvfs/posix/python/pyxattr_native.c | 2 ++ source4/ntvfs/posix/python/pyxattr_tdb.c | 2 ++ 4 files changed, 8 insertions(+) (limited to 'source4') diff --git a/source4/ntvfs/posix/pvfs_acl_nfs4.c b/source4/ntvfs/posix/pvfs_acl_nfs4.c index ea620ba4af..bb88cbc051 100644 --- a/source4/ntvfs/posix/pvfs_acl_nfs4.c +++ b/source4/ntvfs/posix/pvfs_acl_nfs4.c @@ -26,6 +26,8 @@ #include "librpc/gen_ndr/ndr_nfs4acl.h" #include "libcli/security/security.h" +NTSTATUS pvfs_acl_nfs4_init(void); + #define ACE4_IDENTIFIER_GROUP 0x40 /* diff --git a/source4/ntvfs/posix/pvfs_acl_xattr.c b/source4/ntvfs/posix/pvfs_acl_xattr.c index dbeee829ed..d9cceef1bc 100644 --- a/source4/ntvfs/posix/pvfs_acl_xattr.c +++ b/source4/ntvfs/posix/pvfs_acl_xattr.c @@ -24,6 +24,8 @@ #include "../lib/util/unix_privs.h" #include "librpc/gen_ndr/ndr_xattr.h" +NTSTATUS pvfs_acl_xattr_init(void); + /* load the current ACL from extended attributes */ diff --git a/source4/ntvfs/posix/python/pyxattr_native.c b/source4/ntvfs/posix/python/pyxattr_native.c index 7dcb5dd37a..caec115c05 100644 --- a/source4/ntvfs/posix/python/pyxattr_native.c +++ b/source4/ntvfs/posix/python/pyxattr_native.c @@ -23,6 +23,8 @@ #include "librpc/ndr/libndr.h" #include "lib/util/wrap_xattr.h" +void initxattr_native(void); + static PyObject *py_is_xattr_supported(PyObject *self) { #if !defined(HAVE_XATTR_SUPPORT) diff --git a/source4/ntvfs/posix/python/pyxattr_tdb.c b/source4/ntvfs/posix/python/pyxattr_tdb.c index 195c8db967..5e72ac9dde 100644 --- a/source4/ntvfs/posix/python/pyxattr_tdb.c +++ b/source4/ntvfs/posix/python/pyxattr_tdb.c @@ -27,6 +27,8 @@ #include "ntvfs/posix/vfs_posix.h" #include "libcli/util/pyerrors.h" +void initxattr_tdb(void); + static PyObject *py_is_xattr_supported(PyObject *self) { return Py_True; -- cgit