 6bbcab3ec4
			
		
	
	
		6bbcab3ec4
		
	
	
	
	
		
			
			- Remove unused includes. - Add include guards to headers. - Use unsigned variables in case they're never going to hold a negative value. This causes GCC's complaints to disappear and should make flexelint a lot happier, too. - Make functions private when they're used only within a module. - Remove unused variables. - Add casts where appropriate.
		
			
				
	
	
		
			12 lines
		
	
	
		
			277 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			277 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __MFS_DRIVERS_H__
 | |
| #define __MFS_DRIVERS_H__
 | |
| 
 | |
| /* Driver endpoints for major devices. Only the block devices
 | |
|  * are mapped here, it's a subset of the mapping in the VFS */
 | |
| 
 | |
| EXTERN struct driver_endpoints {
 | |
|     endpoint_t driver_e;
 | |
| } driver_endpoints[NR_DEVICES];
 | |
| 
 | |
| #endif
 |