From cfd0a222529cd56a1875ded124e464c501e9b47f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 17 Jun 1996 17:06:34 +0000 Subject: struct frozen is now struct _frozen and comes from import.h. --- Python/import.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/Python/import.c b/Python/import.c index 53a7ba4..a3803a2 100644 --- a/Python/import.c +++ b/Python/import.c @@ -573,17 +573,11 @@ init_builtin(name) /* Frozen modules */ -extern struct frozen { - char *name; - char *code; - int size; -} frozen_modules[]; - -static struct frozen * +static struct _frozen * find_frozen(name) char *name; { - struct frozen *p; + struct _frozen *p; for (p = frozen_modules; ; p++) { if (p->name == NULL) @@ -598,7 +592,7 @@ static object * get_frozen_object(name) char *name; { - struct frozen *p = find_frozen(name); + struct _frozen *p = find_frozen(name); if (p == NULL) { err_setstr(ImportError, "No such frozen object"); @@ -616,7 +610,7 @@ int init_frozen(name) char *name; { - struct frozen *p = find_frozen(name); + struct _frozen *p = find_frozen(name); object *co; object *m; @@ -875,7 +869,7 @@ imp_is_frozen(self, args) object *self; object *args; { - struct frozen *p; + struct _frozen *p; char *name; if (!newgetargs(args, "s", &name)) return NULL; -- cgit v0.12