Declaration of items[] made static to avoid name conflict with ra_items.c
Core allocation macros added.
This commit is contained in:
		
							parent
							
								
									bac0efbedb
								
							
						
					
					
						commit
						7351e38ed5
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -23,8 +23,13 @@ | ||||||
| #include "ra_xform.h" | #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; | short alloc_id; | ||||||
| item_p items[NRITEMTYPES]; | static item_p items[NRITEMTYPES]; | ||||||
| int nrinstrs; | int nrinstrs; | ||||||
| line_p *instrmap; | line_p *instrmap; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue