summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:43:05 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:04 +0100
commite02f1cd9b1fcea8c6c3ac6603688c669494d8d6b (patch)
tree310e21ad79dd56bd061f9b9932f13db62fd41bd5
parentbe9f1ca1c6f163bf1900e38051e412c9b85e234c (diff)
downloadsamba-e02f1cd9b1fcea8c6c3ac6603688c669494d8d6b.tar.gz
samba-e02f1cd9b1fcea8c6c3ac6603688c669494d8d6b.tar.bz2
samba-e02f1cd9b1fcea8c6c3ac6603688c669494d8d6b.zip
source4/ntvfs/posix: Fix prototypes for all functions.
-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;