diff options
Diffstat (limited to 'source4/librpc')
| -rw-r--r-- | source4/librpc/ndr/py_auth.c | 4 | ||||
| -rw-r--r-- | source4/librpc/ndr/py_misc.c | 4 | ||||
| -rw-r--r-- | source4/librpc/ndr/py_security.c | 4 | ||||
| -rw-r--r-- | source4/librpc/ndr/py_xattr.c | 4 |
4 files changed, 0 insertions, 16 deletions
diff --git a/source4/librpc/ndr/py_auth.c b/source4/librpc/ndr/py_auth.c index 8c9c16fa21..95c9a30321 100644 --- a/source4/librpc/ndr/py_auth.c +++ b/source4/librpc/ndr/py_auth.c @@ -26,10 +26,6 @@ #include "auth/credentials/pycredentials.h" #include "librpc/rpc/pyrpc_util.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static void PyType_AddGetSet(PyTypeObject *type, PyGetSetDef *getset) { PyObject *dict; diff --git a/source4/librpc/ndr/py_misc.c b/source4/librpc/ndr/py_misc.c index 4e6d62ef48..d8edff899a 100644 --- a/source4/librpc/ndr/py_misc.c +++ b/source4/librpc/ndr/py_misc.c @@ -20,10 +20,6 @@ #include <Python.h> #include "librpc/gen_ndr/misc.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static int py_GUID_cmp(PyObject *py_self, PyObject *py_other) { int ret; diff --git a/source4/librpc/ndr/py_security.c b/source4/librpc/ndr/py_security.c index 7f79796ea2..47d8c9a313 100644 --- a/source4/librpc/ndr/py_security.c +++ b/source4/librpc/ndr/py_security.c @@ -20,10 +20,6 @@ #include <Python.h> #include "libcli/security/security.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static void PyType_AddMethods(PyTypeObject *type, PyMethodDef *methods) { PyObject *dict; diff --git a/source4/librpc/ndr/py_xattr.c b/source4/librpc/ndr/py_xattr.c index 5a61c734a5..fcf2e66977 100644 --- a/source4/librpc/ndr/py_xattr.c +++ b/source4/librpc/ndr/py_xattr.c @@ -19,10 +19,6 @@ #include <Python.h> -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static void PyType_AddMethods(PyTypeObject *type, PyMethodDef *methods) { PyObject *dict; |
