summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/python
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 /source4/ntvfs/posix/python
parentbe9f1ca1c6f163bf1900e38051e412c9b85e234c (diff)
downloadsamba-e02f1cd9b1fcea8c6c3ac6603688c669494d8d6b.tar.gz
source4/ntvfs/posix: Fix prototypes for all functions.
Diffstat (limited to 'source4/ntvfs/posix/python')
-rw-r--r--source4/ntvfs/posix/python/pyxattr_native.c2
-rw-r--r--source4/ntvfs/posix/python/pyxattr_tdb.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/python/pyxattr_native.c b/source4/ntvfs/posix/python/pyxattr_native.c
index 7dcb5dd37a1..caec115c053 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 195c8db967e..5e72ac9dde5 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;