about summary refs log tree commit diff
path: root/other
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-03-23 23:49:44 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2021-03-23 23:49:44 +0000
commitb53a050bd31ac3ed6da1d546bc4f25cee0d69219 (patch)
tree688206651f728e9f7bdbc7947f78b6c83a34792c /other
parentf580aa1c34a9c35c8bc12aa5f12b108dc99f0d6d (diff)
downloadnetpbm-mirror-b53a050bd31ac3ed6da1d546bc4f25cee0d69219.tar.gz
netpbm-mirror-b53a050bd31ac3ed6da1d546bc4f25cee0d69219.tar.xz
netpbm-mirror-b53a050bd31ac3ed6da1d546bc4f25cee0d69219.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4063 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other')
-rw-r--r--other/pamexec.c7
1 files changed, 4 insertions, 3 deletions
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 <stdbool.h>
 #include <string.h>
 #include <stdio.h>
 #include <errno.h>
@@ -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);