Declaration of items[] made static to avoid name conflict with ra_items.c
authorbal <none@none>
Fri, 30 Nov 1984 10:50:27 +0000 (10:50 +0000)
committerbal <none@none>
Fri, 30 Nov 1984 10:50:27 +0000 (10:50 +0000)
Core allocation macros added.

util/ego/ra/ra.c

index eb74eaa..999a65e 100644 (file)
 #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;