summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-07-01 20:15:21 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2003-07-01 20:15:21 (GMT)
commit21d896cfa1646a1da4e0ead57db9defc2ade397c (patch)
treebf71a5632709fe09a2990ff128b3118444482584 /Include
parent59aba128a5266a944d9773f7223f25b164372146 (diff)
downloadcpython-21d896cfa1646a1da4e0ead57db9defc2ade397c.zip
cpython-21d896cfa1646a1da4e0ead57db9defc2ade397c.tar.gz
cpython-21d896cfa1646a1da4e0ead57db9defc2ade397c.tar.bz2
Use appropriate macros not the deprecated DL_IMPORT/DL_EXPORT macros
Diffstat (limited to 'Include')
-rw-r--r--Include/pyerrors.h2
-rw-r--r--Include/stringobject.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index a4ab62a..1715e97 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -63,7 +63,7 @@ PyAPI_DATA(PyObject *) PyExc_ZeroDivisionError;
PyAPI_DATA(PyObject *) PyExc_WindowsError;
#endif
#ifdef __VMS
-extern DL_IMPORT(PyObject *) PyExc_VMSError;
+PyAPI_DATA(PyObject *) PyExc_VMSError;
#endif
PyAPI_DATA(PyObject *) PyExc_MemoryErrorInst;
diff --git a/Include/stringobject.h b/Include/stringobject.h
index 7f67a1f..3deea8f 100644
--- a/Include/stringobject.h
+++ b/Include/stringobject.h
@@ -65,7 +65,7 @@ PyAPI_FUNC(int) _PyString_Eq(PyObject *, PyObject*);
PyAPI_FUNC(PyObject *) PyString_Format(PyObject *, PyObject *);
PyAPI_FUNC(PyObject *) _PyString_FormatLong(PyObject*, int, int,
int, char**, int*);
-extern DL_IMPORT(PyObject *) PyString_DecodeEscape(const char *, int,
+PyAPI_FUNC(PyObject *) PyString_DecodeEscape(const char *, int,
const char *, int,
const char *);