From: Guido van Rossum Date: Fri, 31 Oct 1997 18:36:47 +0000 (+0000) Subject: Remove the declaration of "internal" table _PyImport_Inittab[]; add X-Git-Tag: v1.5b1~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66959aff6831b5ce6ecc2a9a8d38041198b355aa;p=python Remove the declaration of "internal" table _PyImport_Inittab[]; add new "official" pointer *PyImport_Inittab. --- diff --git a/Include/import.h b/Include/import.h index 1e09d4ea3b..35bedeefd4 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;