diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-03-16 18:44:30 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-03-16 18:44:30 +0000 |
commit | f6d7d2d75fc8913228646fef19204a46941623e4 (patch) | |
tree | a3d60bef2f71e5c0ecd5c1a424ec429effe171c1 /converter/pbm/pbmtog3.c | |
parent | 044bced7bc3d18d57665aa963799a35a31db588b (diff) | |
download | netpbm-mirror-f6d7d2d75fc8913228646fef19204a46941623e4.tar.gz netpbm-mirror-f6d7d2d75fc8913228646fef19204a46941623e4.tar.xz netpbm-mirror-f6d7d2d75fc8913228646fef19204a46941623e4.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4883 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtog3.c')
-rw-r--r-- | converter/pbm/pbmtog3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/pbm/pbmtog3.c b/converter/pbm/pbmtog3.c index 48de8885..ac190d22 100644 --- a/converter/pbm/pbmtog3.c +++ b/converter/pbm/pbmtog3.c @@ -57,11 +57,11 @@ parseCommandLine(int argc, const char ** const argv, optEntry * option_def; /* Instructions to OptParseOptions2 on how to parse our options. */ optStruct3 opt; + unsigned int option_def_index; + unsigned int nofixedwidth; unsigned int align8, align16; - unsigned int option_def_index; - MALLOCARRAY_NOFAIL(option_def, 100); option_def_index = 0; /* incremented by OPTENTRY */ @@ -84,7 +84,7 @@ parseCommandLine(int argc, const char ** const argv, opt.short_allowed = false; /* We have no short (old-fashioned) options */ opt.allowNegNum = true; /* 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. */ free(option_def); |