summaryrefslogtreecommitdiff
path: root/libgpo/pygpo.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2017-10-24 16:46:19 +1300
committerGarming Sam <garming@samba.org>2017-11-20 21:41:15 +0100
commit3ba077f4dbda30d085823509b0aee132ff91edb6 (patch)
tree69081f1364feb3fe89ccf9bde6aa9428aae2e962 /libgpo/pygpo.c
parent0da76af16c6707c82762f029938be83c4ac5cd29 (diff)
downloadsamba-3ba077f4dbda30d085823509b0aee132ff91edb6.tar.gz
python: Remove Python 2.4 compat macro
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'libgpo/pygpo.c')
-rw-r--r--libgpo/pygpo.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libgpo/pygpo.c b/libgpo/pygpo.c
index 09e03af9650..28f41f754b8 100644
--- a/libgpo/pygpo.c
+++ b/libgpo/pygpo.c
@@ -30,10 +30,6 @@
/* A Python C API module to use LIBGPO */
-#ifndef Py_RETURN_NONE
-#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
-#endif
-
typedef struct {
PyObject_HEAD
TALLOC_CTX *frame;