From 66959aff6831b5ce6ecc2a9a8d38041198b355aa Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 31 Oct 1997 18:36:47 +0000 Subject: [PATCH] Remove the declaration of "internal" table _PyImport_Inittab[]; add new "official" pointer *PyImport_Inittab. --- Include/import.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Include/import.h b/Include/import.h index 1e09d4ea3b8..35bedeefd41 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;