diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-06-07 18:17:58 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2020-06-07 18:17:58 +0000 |
commit | 79afe780b169e6e089a02565ba00ac056c70730d (patch) | |
tree | 90176d8e6b7a73b9a4e583a5188d88c1f529110c /converter | |
parent | 58d93443af693f164c1c3626a64d08a8c7858020 (diff) | |
download | netpbm-mirror-79afe780b169e6e089a02565ba00ac056c70730d.tar.gz netpbm-mirror-79afe780b169e6e089a02565ba00ac056c70730d.tar.xz netpbm-mirror-79afe780b169e6e089a02565ba00ac056c70730d.zip |
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3838 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter')
-rw-r--r-- | converter/ppm/ximtoppm.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/converter/ppm/ximtoppm.c b/converter/ppm/ximtoppm.c index 96209425..adab95c7 100644 --- a/converter/ppm/ximtoppm.c +++ b/converter/ppm/ximtoppm.c @@ -22,7 +22,7 @@ #include "shhopt.h" #include "nstring.h" -struct cmdlineInfo { +struct CmdlineInfo { /* All the information the user supplied in the command line, in a form easy for the program to use. */ @@ -35,7 +35,7 @@ struct cmdlineInfo { static void parseCommandLine(int argc, char ** argv, - struct cmdlineInfo *cmdlineP) { + struct CmdlineInfo *cmdlineP) { /*---------------------------------------------------------------------------- Note that many of the strings that this function returns in the *cmdlineP structure are actually in the supplied argv array. And @@ -211,7 +211,8 @@ ReadImageChannel(FILE * const infp, } /* return to the beginning of the next image's buffer */ if (fseek(infp, marker, 0) == -1) { - pm_message("ReadImageChannel: can't fseek to location in image buffer" ); + pm_message("ReadImageChannel: can't fseek to location " + "in image buffer"); return(0); } free((char *)line); @@ -341,7 +342,7 @@ int main(int argc, char *argv[]) { - struct cmdlineInfo cmdline; + struct CmdlineInfo cmdline; FILE *ifP, *imageout_file, *alpha_file; XimImage xim; pixel *pixelrow, colormap[256]; |