summaryrefslogtreecommitdiffstats
path: root/Include/import.h
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 /Include/import.h
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 'Include/import.h')
-rw-r--r--Include/import.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Include/import.h b/Include/import.h
index 3f6157d..c2c869e 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -21,18 +21,18 @@ PyAPI_FUNC(PyObject *) PyImport_ReloadModule(PyObject *m);
PyAPI_FUNC(void) PyImport_Cleanup(void);
PyAPI_FUNC(int) PyImport_ImportFrozenModule(char *);
-extern PyAPI_FUNC(PyObject *)_PyImport_FindExtension(char *, char *);
-extern PyAPI_FUNC(PyObject *)_PyImport_FixupExtension(char *, char *);
+PyAPI_FUNC(PyObject *)_PyImport_FindExtension(char *, char *);
+PyAPI_FUNC(PyObject *)_PyImport_FixupExtension(char *, char *);
struct _inittab {
char *name;
void (*initfunc)(void);
};
-extern PyAPI_DATA(struct _inittab *) PyImport_Inittab;
+PyAPI_DATA(struct _inittab *) PyImport_Inittab;
-extern PyAPI_FUNC(int) PyImport_AppendInittab(char *name, void (*initfunc)(void));
-extern PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
+PyAPI_FUNC(int) PyImport_AppendInittab(char *name, void (*initfunc)(void));
+PyAPI_FUNC(int) PyImport_ExtendInittab(struct _inittab *newtab);
struct _frozen {
char *name;
@@ -43,7 +43,7 @@ struct _frozen {
/* Embedding apps may change this pointer to point to their favorite
collection of frozen modules: */
-extern PyAPI_DATA(struct _frozen *) PyImport_FrozenModules;
+PyAPI_DATA(struct _frozen *) PyImport_FrozenModules;
#ifdef __cplusplus
}