From 0c2fbe5a0c1a12751510840e285b7e45cc02ea22 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Wed, 8 Jan 2014 15:42:50 +0100 Subject: samba:python - Py_RETURN_NONE remove compatibility code for releases < 2.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://www.python.org/doc//current/c-api/none.html Reviewed-By: Jelmer Vernooij Autobuild-User(master): Matthias Dieter Wallnöfer Autobuild-Date(master): Thu Jan 9 16:27:47 CET 2014 on sn-devel-104 --- libcli/nbt/pynbt.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libcli/nbt/pynbt.c') diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c index 8074fb6efdb..7162880c32c 100644 --- a/libcli/nbt/pynbt.c +++ b/libcli/nbt/pynbt.c @@ -26,10 +26,6 @@ void initnetbios(void); -#ifndef Py_RETURN_NONE -#define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None -#endif - extern PyTypeObject nbt_node_Type; typedef struct { -- cgit