summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/pycredentials.c4
-rw-r--r--source4/auth/gensec/pygensec.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/source4/auth/credentials/pycredentials.c b/source4/auth/credentials/pycredentials.c
index 59a200b09e..3c06ae9302 100644
--- a/source4/auth/credentials/pycredentials.c
+++ b/source4/auth/credentials/pycredentials.c
@@ -25,10 +25,6 @@
#include "libcli/util/pyerrors.h"
#include "param/pyparam.h"
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
static PyObject *PyString_FromStringOrNULL(const char *str)
{
if (str == NULL)
diff --git a/source4/auth/gensec/pygensec.c b/source4/auth/gensec/pygensec.c
index 87c38053a7..1c2bd20dde 100644
--- a/source4/auth/gensec/pygensec.c
+++ b/source4/auth/gensec/pygensec.c
@@ -25,10 +25,6 @@
#include "pytalloc.h"
#include <tevent.h>
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
static PyObject *py_get_name_by_authtype(PyObject *self, PyObject *args)
{
int type;