From b53a050bd31ac3ed6da1d546bc4f25cee0d69219 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Tue, 23 Mar 2021 23:49:44 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4063 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pamexec.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'other') diff --git a/other/pamexec.c b/other/pamexec.c index c68cce0c..3d1f5086 100644 --- a/other/pamexec.c +++ b/other/pamexec.c @@ -15,6 +15,7 @@ #define _BSD_SOURCE 1 /* Make sure strdup() is in string.h */ #define _XOPEN_SOURCE 500 /* Make sure strdup() is in string.h */ +#include #include #include #include @@ -59,8 +60,8 @@ parseCommandLine(int argc, const char ** argv, OPTENT3(0, "check", OPT_FLAG, NULL, &cmdlineP->check, 0); opt.opt_table = option_def; - opt.short_allowed = FALSE; /* We have no short (old-fashioned) options */ - opt.allowNegNum = FALSE; /* We have no parms that are negative numbers */ + opt.short_allowed = false; /* We have no short (old-fashioned) options */ + opt.allowNegNum = false; /* We have no parms that are negative numbers */ pm_optParseOptions3(&argc, (char **)argv, opt, sizeof(opt), 0); /* Uses and sets argc, argv, and some of *cmdlineP and others. */ @@ -172,7 +173,7 @@ main(int argc, const char *argv[]) { ifP = pm_openr(cmdline.inputFileName); - for (eof = FALSE, imageSeq = 0; !eof; ++imageSeq) { + for (eof = false, imageSeq = 0; !eof; ++imageSeq) { const char * error; doOneImage(ifP, cmdline.command, cmdline.check, &error); -- cgit 1.4.1