diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-02-03 19:19:11 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-02-03 19:19:11 +0000 |
commit | b9e942f3b2bf6ef8e74ec7a115537df2b57f9c09 (patch) | |
tree | 82ed48769e155f412ab5b4fc98f3cbd2e18c25c0 /generator | |
parent | 45914fc9c181ef07490f5dc455afca87b71438cc (diff) | |
download | netpbm-mirror-b9e942f3b2bf6ef8e74ec7a115537df2b57f9c09.tar.gz netpbm-mirror-b9e942f3b2bf6ef8e74ec7a115537df2b57f9c09.tar.xz netpbm-mirror-b9e942f3b2bf6ef8e74ec7a115537df2b57f9c09.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3533 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'generator')
-rw-r--r-- | generator/pamgradient.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generator/pamgradient.c b/generator/pamgradient.c index 47f69ec3..526efdae 100644 --- a/generator/pamgradient.c +++ b/generator/pamgradient.c @@ -7,7 +7,7 @@ -struct cmdlineInfo { +struct CmdlineInfo { tuple colorTopLeft; tuple colorTopRight; tuple colorBottomLeft; @@ -19,10 +19,10 @@ struct cmdlineInfo { static void parseCommandLine(int argc, const char **argv, - struct cmdlineInfo * const cmdlineP) { + struct CmdlineInfo * const cmdlineP) { /*---------------------------------------------------------------------------- Convert program invocation arguments (argc,argv) into a format the - program can use easily, struct cmdlineInfo. Validate arguments along + program can use easily, struct CmdlineInfo. Validate arguments along the way and exit program with message if invalid. Note that some string information we return as *cmdlineP is in the storage @@ -83,7 +83,7 @@ parseCommandLine(int argc, const char **argv, static void -freeCmdline(struct cmdlineInfo const cmdline) { +freeCmdline(struct CmdlineInfo const cmdline) { pnm_freepamtuple(cmdline.colorTopLeft); pnm_freepamtuple(cmdline.colorTopRight); @@ -156,7 +156,7 @@ createEdge(const struct pam * const pamP, int main(int argc, const char *argv[]) { - struct cmdlineInfo cmdline; + struct CmdlineInfo cmdline; struct pam pam; tuple * tupleRow; tuple * leftEdge; |