summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/ntvfs/posix/pvfs_acl_nfs4.c2
-rw-r--r--source4/ntvfs/posix/pvfs_acl_xattr.c2
-rw-r--r--source4/ntvfs/posix/python/pyxattr_native.c2
-rw-r--r--source4/ntvfs/posix/python/pyxattr_tdb.c2
4 files changed, 8 insertions, 0 deletions
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;