Bus: make the resource list static.
This commit is contained in:
		
							parent
							
								
									bde028dd8d
								
							
						
					
					
						commit
						b013111e98
					
				| 
						 | 
				
			
			@ -70,9 +70,8 @@ BusRec primaryBus = { BUS_NONE, { 0 } };
 | 
			
		|||
 | 
			
		||||
static Bool xf86ResAccessEnter = FALSE;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* resource lists */
 | 
			
		||||
resPtr Acc = NULL;
 | 
			
		||||
static resPtr Acc = NULL;
 | 
			
		||||
 | 
			
		||||
/* predefined special resources */
 | 
			
		||||
resRange resVgaExclusive[] = {_VGA_EXCLUSIVE, _END};
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 1997-2003 by The XFree86 Project, Inc.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			@ -131,8 +130,6 @@ extern EntityPtr *xf86Entities;
 | 
			
		|||
extern int xf86NumEntities;
 | 
			
		||||
extern xf86AccessRec AccessNULL;
 | 
			
		||||
extern BusRec primaryBus;
 | 
			
		||||
extern resPtr Acc;
 | 
			
		||||
extern resPtr ResRange;
 | 
			
		||||
extern BusAccPtr xf86BusAccInfo;
 | 
			
		||||
 | 
			
		||||
int xf86AllocateEntity(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue