From: Ralph Corderoy Date: Mon, 4 Sep 2017 09:03:36 +0000 (+0100) Subject: print_intro(): Change parameter brief from int to bool. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/d601805e1d9c40d88107eb4b79c6cd592d660eb2?hp=a399b4c6a300067d6e1da58d2092129494f95711 print_intro(): Change parameter brief from int to bool. --- diff --git a/h/prototypes.h b/h/prototypes.h index f28f2839..ec11915a 100644 --- a/h/prototypes.h +++ b/h/prototypes.h @@ -189,7 +189,7 @@ int pidwait (pid_t, int); int pidstatus (int, FILE *, char *); char *pluspath(char *); void print_help (char *, struct swit *, int); -void print_intro (FILE *, int); +void print_intro (FILE *, bool); void print_sw (const char *, const struct swit *, char *, FILE *); void print_version (char *); void push (void); diff --git a/sbr/print_help.c b/sbr/print_help.c index 37834ae1..0fca1db7 100644 --- a/sbr/print_help.c +++ b/sbr/print_help.c @@ -64,7 +64,7 @@ static const char nmh_intro3[] = \ "at http://www.nongnu.org/nmh/ .\n"; void -print_intro (FILE *file, int brief) { +print_intro (FILE *file, bool brief) { fputs (nmh_intro1, file); if (! brief) { fputs (nmh_intro2, file);