diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-04 11:17:40 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-02-09 17:53:09 +0100 |
commit | e34637b2a69b5af6f6ac997d5e0d4b786f3c9935 (patch) | |
tree | ef6dcae7b93167f6430934d3530178ce4ec4ba0e /source4/ntvfs | |
parent | a0ac6a86321c2eea404a22ef6330a261f03547a4 (diff) | |
download | samba-e34637b2a69b5af6f6ac997d5e0d4b786f3c9935.tar.gz samba-e34637b2a69b5af6f6ac997d5e0d4b786f3c9935.tar.bz2 samba-e34637b2a69b5af6f6ac997d5e0d4b786f3c9935.zip |
s4:Remove "Py_RETURN_NONE" compatibility code
This was needed only by Python 2.3 which we no longer support.
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; |