diff options
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/com/pycom.c | 4 | ||||
-rw-r--r-- | source4/lib/messaging/pymessaging.c | 4 | ||||
-rw-r--r-- | source4/lib/registry/pyregistry.c | 4 |
3 files changed, 0 insertions, 12 deletions
diff --git a/source4/lib/com/pycom.c b/source4/lib/com/pycom.c index 86e794e173..3323ca645e 100644 --- a/source4/lib/com/pycom.c +++ b/source4/lib/com/pycom.c @@ -23,10 +23,6 @@ #include "librpc/ndr/libndr.h" #include "libcli/util/pyerrors.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - static struct com_context *py_com_ctx = NULL; /* FIXME: evil global */ static PyObject *py_get_class_object(PyObject *self, PyObject *args) diff --git a/source4/lib/messaging/pymessaging.c b/source4/lib/messaging/pymessaging.c index 0e6fe88b11..1f3b687e6f 100644 --- a/source4/lib/messaging/pymessaging.c +++ b/source4/lib/messaging/pymessaging.c @@ -31,10 +31,6 @@ #include "param/param.h" #include "param/pyparam.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - PyAPI_DATA(PyTypeObject) messaging_Type; PyAPI_DATA(PyTypeObject) irpc_ClientConnectionType; diff --git a/source4/lib/registry/pyregistry.c b/source4/lib/registry/pyregistry.c index e98ac26611..a2042f4d68 100644 --- a/source4/lib/registry/pyregistry.c +++ b/source4/lib/registry/pyregistry.c @@ -27,10 +27,6 @@ #include "auth/credentials/pycredentials.h" #include "param/pyparam.h" -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - PyAPI_DATA(PyTypeObject) PyRegistryKey; PyAPI_DATA(PyTypeObject) PyRegistry; PyAPI_DATA(PyTypeObject) PyHiveKey; |