summaryrefslogtreecommitdiffstats
path: root/Python/exceptions.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 /Python/exceptions.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 'Python/exceptions.c')
-rw-r--r--Python/exceptions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/exceptions.c b/Python/exceptions.c
index afb6a7b..934850a 100644
--- a/Python/exceptions.c
+++ b/Python/exceptions.c
@@ -1050,7 +1050,7 @@ static struct {
-DL_EXPORT(void)
+void
_PyExc_Init(void)
{
char *modulename = "exceptions";
@@ -1146,7 +1146,7 @@ _PyExc_Init(void)
}
-DL_EXPORT(void)
+void
_PyExc_Fini(void)
{
int i;