]> granicus.if.org Git - python/commitdiff
Remove the declaration of "internal" table _PyImport_Inittab[]; add
authorGuido van Rossum <guido@python.org>
Fri, 31 Oct 1997 18:36:47 +0000 (18:36 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 31 Oct 1997 18:36:47 +0000 (18:36 +0000)
new "official" pointer *PyImport_Inittab.

Include/import.h

index 1e09d4ea3b84967e91834def33db21a012303c77..35bedeefd41433af4cc7003e080d34ea02df0cb6 100644 (file)
@@ -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;