diff options
Diffstat (limited to 'source4/ntvfs')
-rw-r--r-- | source4/ntvfs/posix/python/pyxattr_native.c | 4 | ||||
-rw-r--r-- | source4/ntvfs/posix/python/pyxattr_tdb.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/source4/ntvfs/posix/python/pyxattr_native.c b/source4/ntvfs/posix/python/pyxattr_native.c index 9b60039a38..7dcb5dd37a 100644 --- a/source4/ntvfs/posix/python/pyxattr_native.c +++ b/source4/ntvfs/posix/python/pyxattr_native.c @@ -23,10 +23,6 @@ #include "librpc/ndr/libndr.h" #include "lib/util/wrap_xattr.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - 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 e49cd887d0..195c8db967 100644 --- a/source4/ntvfs/posix/python/pyxattr_tdb.c +++ b/source4/ntvfs/posix/python/pyxattr_tdb.c @@ -27,10 +27,6 @@ #include "ntvfs/posix/vfs_posix.h" #include "libcli/util/pyerrors.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static PyObject *py_is_xattr_supported(PyObject *self) { return Py_True; |