From 2ac5cedb719d220db412d0bdc69e34bad9ab26f1 Mon Sep 17 00:00:00 2001 From: Arnaud Faucher Date: Mon, 22 Nov 2010 00:07:21 +0100 Subject: Avoid the use of PyAPI_DATA, which is for internal Python API's. Signed-off-by: Jelmer Vernooij Autobuild-User: Jelmer Vernooij Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104 --- libcli/nbt/pynbt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcli/nbt') diff --git a/libcli/nbt/pynbt.c b/libcli/nbt/pynbt.c index dbb4d18237..452ae3a1a2 100644 --- a/libcli/nbt/pynbt.c +++ b/libcli/nbt/pynbt.c @@ -28,7 +28,7 @@ #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None #endif -PyAPI_DATA(PyTypeObject) nbt_node_Type; +extern PyTypeObject nbt_node_Type; typedef struct { PyObject_HEAD -- cgit