about summary refs log tree commit diff
path: root/converter/ppm/ppmtoicr.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-21 18:00:33 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-03-21 18:00:33 +0000
commit98d28f83671c74c543adae85a3d2f28e5ca2e936 (patch)
tree5fe93e5c7ec2dfa35adcc568f2c7e412a0faf3ff /converter/ppm/ppmtoicr.c
parentce9180d445d1bed97d6bb308275568d41c4ef765 (diff)
downloadnetpbm-mirror-98d28f83671c74c543adae85a3d2f28e5ca2e936.tar.gz
netpbm-mirror-98d28f83671c74c543adae85a3d2f28e5ca2e936.tar.xz
netpbm-mirror-98d28f83671c74c543adae85a3d2f28e5ca2e936.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4885 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/ppm/ppmtoicr.c')
-rw-r--r--converter/ppm/ppmtoicr.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/converter/ppm/ppmtoicr.c b/converter/ppm/ppmtoicr.c
index de21fc68..2c9fd3a1 100644
--- a/converter/ppm/ppmtoicr.c
+++ b/converter/ppm/ppmtoicr.c
@@ -50,9 +50,7 @@ parseCommandLine(int argc, const char ** argv,
    Note that the file spec array we return is stored in the storage that
    was passed to us as the argv array.
 -----------------------------------------------------------------------------*/
-    optEntry *option_def;
-        /* Instructions to OptParseOptions3 on how to parse our options.
-         */
+    optEntry * option_def;
     optStruct3 opt;
 
     unsigned int option_def_index;
@@ -75,10 +73,10 @@ parseCommandLine(int argc, const char ** argv,
             &rleSpec,        0);
 
     opt.opt_table = option_def;
-    opt.short_allowed = FALSE;  /* We have no short (old-fashioned) options */
-    opt.allowNegNum = FALSE;  /* We may have parms that are negative numbers */
+    opt.short_allowed = false;  /* We have no short (old-fashioned) options */
+    opt.allowNegNum = false;  /* We may have parms that are negative numbers */
 
-    pm_optParseOptions3(&argc, (char **)argv, opt, sizeof(opt), 0);
+    pm_optParseOptions4(&argc, argv, opt, sizeof(opt), 0);
         /* Uses and sets argc, argv, and some of *cmdlineP and others. */
 
     if (!expandSpec)