From d601805e1d9c40d88107eb4b79c6cd592d660eb2 Mon Sep 17 00:00:00 2001 From: Ralph Corderoy Date: Mon, 4 Sep 2017 10:03:36 +0100 Subject: [PATCH] print_intro(): Change parameter brief from int to bool. --- h/prototypes.h | 2 +- sbr/print_help.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.56.0