]> 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 f28f2839651bbafed3fe65df093e4bb5b8ad90be..ec11915adcbb214e5a50b9b5c77fb3d7ec4ec50f 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);
 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);
 void print_sw (const char *, const struct swit *, char *, FILE *);
 void print_version (char *);
 void push (void);
index 37834ae18fca40c19ae623b5a81763e12563c1ad..0fca1db7ac7f3491487047c4404a04b82b9beac8 100644 (file)
@@ -64,7 +64,7 @@ static const char nmh_intro3[] = \
 "at http://www.nongnu.org/nmh/ .\n";
 
 void
 "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);
     fputs (nmh_intro1, file);
     if (! brief) {
         fputs (nmh_intro2, file);