Remove unused function
This commit is contained in:
		
							parent
							
								
									2784950f45
								
							
						
					
					
						commit
						756dee58c7
					
				
							
								
								
									
										13
									
								
								src/utils.c
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								src/utils.c
									
									
									
									
									
								
							| @ -128,19 +128,6 @@ void string_strip_delimited(char *str, char a, char b) | ||||
|         str[iwrite] = 0; | ||||
| } | ||||
| 
 | ||||
| int digit_count(int i) | ||||
| { | ||||
|         i = ABS(i); | ||||
|         int len = 1; | ||||
| 
 | ||||
|         while (i > 0) { | ||||
|                 len++; | ||||
|                 i /= 10; | ||||
|         } | ||||
| 
 | ||||
|         return len; | ||||
| } | ||||
| 
 | ||||
| void die(char *text, int exit_value) | ||||
| { | ||||
|         fputs(text, stderr); | ||||
|  | ||||
| @ -22,8 +22,6 @@ void string_strip_delimited(char *str, char a, char b); | ||||
| 
 | ||||
| /* exit with an error message */ | ||||
| void die(char *msg, int exit_value); | ||||
| 
 | ||||
| int digit_count(int i); | ||||
| #endif | ||||
| 
 | ||||
| /* vim: set tabstop=8 shiftwidth=8 expandtab textwidth=0: */ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis