Removed useless function and prototypes.
This commit is contained in:
		
							parent
							
								
									09396a801a
								
							
						
					
					
						commit
						2c60b7f31f
					
				
					 2 changed files with 1 additions and 11 deletions
				
			
		
							
								
								
									
										4
									
								
								defs.h
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								defs.h
									
										
									
									
									
								
							|  | @ -88,9 +88,7 @@ void            end_op(); | |||
| 
 | ||||
| // mp.c
 | ||||
| extern int      ismp; | ||||
| int             mpbcpu(void); | ||||
| void            mpinit(void); | ||||
| void            mpstartthem(void); | ||||
| 
 | ||||
| // picirq.c
 | ||||
| void            picenable(int); | ||||
|  | @ -104,7 +102,6 @@ int             pipewrite(struct pipe*, char*, int); | |||
| 
 | ||||
| //PAGEBREAK: 16
 | ||||
| // proc.c
 | ||||
| struct proc*    copyproc(struct proc*); | ||||
| void            exit(void); | ||||
| int             fork(void); | ||||
| int             growproc(int); | ||||
|  | @ -165,7 +162,6 @@ void            uartputc(int); | |||
| // vm.c
 | ||||
| void            seginit(void); | ||||
| void            kvmalloc(void); | ||||
| void            vmenable(void); | ||||
| pde_t*          setupkvm(void); | ||||
| char*           uva2ka(pde_t*, char*); | ||||
| int             allocuvm(pde_t*, uint, uint); | ||||
|  |  | |||
							
								
								
									
										8
									
								
								mp.c
									
										
									
									
									
								
							
							
						
						
									
										8
									
								
								mp.c
									
										
									
									
									
								
							|  | @ -17,17 +17,11 @@ int ismp; | |||
| int ncpu; | ||||
| uchar ioapicid; | ||||
| 
 | ||||
| int | ||||
| mpbcpu(void) | ||||
| { | ||||
|   return bcpu-cpus; | ||||
| } | ||||
| 
 | ||||
| static uchar | ||||
| sum(uchar *addr, int len) | ||||
| { | ||||
|   int i, sum; | ||||
|    | ||||
| 
 | ||||
|   sum = 0; | ||||
|   for(i=0; i<len; i++) | ||||
|     sum += addr[i]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Peter H. Froehlich
						Peter H. Froehlich