peek(1): use stdbool.h
This commit is contained in:
		
							parent
							
								
									3bfdc62035
								
							
						
					
					
						commit
						8ec18ccf75
					
				| @ -17,6 +17,7 @@ | ||||
|  */ | ||||
| 
 | ||||
| #include <signal.h> /* sigaction(2), signal(2), struct sigaction, SIGINT */ | ||||
| #include <stdbool.h> /* bool */ | ||||
| #include <stdio.h> /* fprintf(3), fgetc(3), perror(3), fputc(3), stderr, stdin, | ||||
|                     * stdout, EOF, NULL */ | ||||
| #include <stdlib.h> /* exit(3), EXIT_FAILURE */ | ||||
| @ -70,7 +71,7 @@ int main(int argc, char *argv[]){ | ||||
| #endif | ||||
| 
 | ||||
| 	if (argc > 0) { /* option parsing */ | ||||
| 		char allow_nonterminals; | ||||
| 		bool allow_nonterminals; | ||||
| 		int c; | ||||
| 
 | ||||
| 		program_name = argv[0]; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user