]> diplodocus.org Git - nmh/commitdiff
print_intro(): Change parameter brief from int to bool.
authorRalph Corderoy <ralph@inputplus.co.uk>
Mon, 4 Sep 2017 09:03:36 +0000 (10:03 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Mon, 4 Sep 2017 09:03:36 +0000 (10:03 +0100)
h/prototypes.h
sbr/print_help.c

index f28f283..ec11915 100644 (file)
@@ -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);
index 37834ae..0fca1db 100644 (file)
@@ -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);