From 0f77c7fb9fd0a6dd79ae5487547c03b37c97f0b9 Mon Sep 17 00:00:00 2001 From: bal Date: Fri, 30 Nov 1984 10:50:27 +0000 Subject: [PATCH] Declaration of items[] made static to avoid name conflict with ra_items.c Core allocation macros added. --- util/ego/ra/ra.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/util/ego/ra/ra.c b/util/ego/ra/ra.c index eb74eaa3..999a65e7 100644 --- a/util/ego/ra/ra.c +++ b/util/ego/ra/ra.c @@ -23,8 +23,13 @@ #include "ra_xform.h" +#define newrabx() (bext_p) newstruct(bext_ra) +#define newralpx() (lpext_p) newstruct(lpext_ra) +#define oldrabx(x) oldstruct(bext_ra,x) +#define oldralpx(x) oldstruct(lpext_ra,x) + short alloc_id; -item_p items[NRITEMTYPES]; +static item_p items[NRITEMTYPES]; int nrinstrs; line_p *instrmap;