From: bal Date: Fri, 30 Nov 1984 10:50:27 +0000 (+0000) Subject: Declaration of items[] made static to avoid name conflict with ra_items.c X-Git-Tag: release-5-5~5912 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7351e38ed5e13ff05dd74a3029eb3e4902f0daac;p=ack.git Declaration of items[] made static to avoid name conflict with ra_items.c Core allocation macros added. --- 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;