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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=66959aff6831b5ce6ecc2a9a8d38041198b355aa;p=thirdparty%2FPython%2Fcpython.git 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 1e09d4ea3b84..35bedeefd414 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;