summaryrefslogtreecommitdiffstats
path: root/Include/import.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-31 18:36:47 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-31 18:36:47 (GMT)
commit66959aff6831b5ce6ecc2a9a8d38041198b355aa (patch)
tree01c309a885d1cd1c41968d30ddbf18a2307315ad /Include/import.h
parente8d113976c332448ab5d4849f0c002b416c4bda5 (diff)
downloadcpython-66959aff6831b5ce6ecc2a9a8d38041198b355aa.zip
cpython-66959aff6831b5ce6ecc2a9a8d38041198b355aa.tar.gz
cpython-66959aff6831b5ce6ecc2a9a8d38041198b355aa.tar.bz2
Remove the declaration of "internal" table _PyImport_Inittab[]; add
new "official" pointer *PyImport_Inittab.
Diffstat (limited to 'Include/import.h')
-rw-r--r--Include/import.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Include/import.h b/Include/import.h
index 1e09d4e..35bedee 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -57,9 +57,7 @@ struct _inittab {
void (*initfunc)();
};
-/* This table is defined in config.c: */
-
-extern struct _inittab _PyImport_Inittab[];
+extern DL_IMPORT(struct _inittab *) PyImport_Inittab;
struct _frozen {
char *name;