diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-03-07 19:25:44 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2024-03-07 19:25:44 +0000 |
commit | b1528e437e46d978c8e5721197ac0d41536c5403 (patch) | |
tree | 3afdf15fb98e0280bb41c41fe7d19ca5f72f16c5 /other/pamsplit.c | |
parent | c84db6d5899ca01a32e4506eb730151c3e03cce3 (diff) | |
download | netpbm-mirror-b1528e437e46d978c8e5721197ac0d41536c5403.tar.gz netpbm-mirror-b1528e437e46d978c8e5721197ac0d41536c5403.tar.xz netpbm-mirror-b1528e437e46d978c8e5721197ac0d41536c5403.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4859 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'other/pamsplit.c')
-rw-r--r-- | other/pamsplit.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/other/pamsplit.c b/other/pamsplit.c index 8c7aff11..1c1ab3d4 100644 --- a/other/pamsplit.c +++ b/other/pamsplit.c @@ -41,9 +41,7 @@ parseCommandLine(int argc, const char ** argv, Note that the pointers we place into *cmdlineP are sometimes to storage in the argv array. -----------------------------------------------------------------------------*/ - optEntry *option_def; - /* Instructions to OptParseOptions3 on how to parse our options. - */ + optEntry * option_def; optStruct3 opt; unsigned int padnameSpec; @@ -60,7 +58,7 @@ parseCommandLine(int argc, const char ** argv, 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); + pm_optParseOptions4(&argc, argv, opt, sizeof(opt), 0); /* Uses and sets argc, argv, and some of *cmdlineP and others. */ if (!padnameSpec) |