From 47ecf87e167d8d99de4c95e5dcd74f307a25a0d9 Mon Sep 17 00:00:00 2001 From: DTB Date: Wed, 28 Aug 2024 18:34:33 -0600 Subject: [PATCH] peek(1): use stdbool.h --- src/peek.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/peek.c b/src/peek.c index 54f010e..c84a2f8 100644 --- a/src/peek.c +++ b/src/peek.c @@ -17,6 +17,7 @@ */ #include /* sigaction(2), signal(2), struct sigaction, SIGINT */ +#include /* bool */ #include /* fprintf(3), fgetc(3), perror(3), fputc(3), stderr, stdin, * stdout, EOF, NULL */ #include /* 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];