summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2002-07-29 13:42:14 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2002-07-29 13:42:14 (GMT)
commita2905273766bbbebb87274c87b62772cdfaeb180 (patch)
tree0d6895a5967201c6908e1838cc2e39de6fdf13de /Objects/object.c
parentf4ad4ce5a0f644417c6c50035979020386fe09fc (diff)
downloadcpython-a2905273766bbbebb87274c87b62772cdfaeb180.zip
cpython-a2905273766bbbebb87274c87b62772cdfaeb180.tar.gz
cpython-a2905273766bbbebb87274c87b62772cdfaeb180.tar.bz2
Excise DL_IMPORT/EXPORT from object.h, and related files. This patch
also adds 'extern' to PyAPI_DATA rather than at each declaration, as discussed with Tim and Guido.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/object.c b/Objects/object.c
index 19f9a7a..e9251cc 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -8,10 +8,10 @@
#endif
#ifdef Py_REF_DEBUG
-DL_IMPORT(long) _Py_RefTotal;
+long _Py_RefTotal;
#endif
-DL_IMPORT(int) Py_DivisionWarningFlag;
+int Py_DivisionWarningFlag;
/* Object allocation routines used by NEWOBJ and NEWVAROBJ macros.
These are used by the individual routines for object creation.