From 7351e38ed5e13ff05dd74a3029eb3e4902f0daac 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 eb74eaa3b..999a65e7d 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; -- 2.34.1