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 --- lib/tdb/pytdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tdb') diff --git a/lib/tdb/pytdb.c b/lib/tdb/pytdb.c index b857438e16..82407e14b0 100644 --- a/lib/tdb/pytdb.c +++ b/lib/tdb/pytdb.c @@ -41,7 +41,7 @@ typedef struct { bool closed; } PyTdbObject; -PyAPI_DATA(PyTypeObject) PyTdb; +extern PyTypeObject PyTdb; static void PyErr_SetTDBError(TDB_CONTEXT *tdb) { -- cgit