diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-12-29 18:56:52 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-12-29 18:56:52 +0000 |
commit | 48bec6df1c226f4cc55c8df77f2492eb747dd0b9 (patch) | |
tree | f228c5af8e7ff28357e2f2ce8b5fdec9675e2328 /editor/pnmpad.c | |
parent | b6de74e925b6665c8996e7ad63eef3aae3f80125 (diff) | |
download | netpbm-mirror-48bec6df1c226f4cc55c8df77f2492eb747dd0b9.tar.gz netpbm-mirror-48bec6df1c226f4cc55c8df77f2492eb747dd0b9.tar.xz netpbm-mirror-48bec6df1c226f4cc55c8df77f2492eb747dd0b9.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@507 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'editor/pnmpad.c')
-rw-r--r-- | editor/pnmpad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/pnmpad.c b/editor/pnmpad.c index 568edd23..4fd810da 100644 --- a/editor/pnmpad.c +++ b/editor/pnmpad.c @@ -37,7 +37,7 @@ struct cmdlineInfo { static void -parseCommandLine(int argc, char ** argv, +parseCommandLine(int argc, const char ** argv, struct cmdlineInfo * const cmdlineP) { /*---------------------------------------------------------------------------- Note that the file spec array we return is stored in the storage that @@ -381,7 +381,7 @@ computePadSizes(struct cmdlineInfo const cmdline, int -main(int argc, char ** argv) { +main(int argc, const char ** argv) { struct cmdlineInfo cmdline; FILE *ifP; @@ -391,7 +391,7 @@ main(int argc, char ** argv) { bool depr_cmd; /* use deprecated commandline interface */ unsigned int lpad, rpad, tpad, bpad; - pnm_init( &argc, argv ); + pm_proginit(&argc, argv); /* detect deprecated options */ depr_cmd = FALSE; /* initial assumption */ |