From 79afe780b169e6e089a02565ba00ac056c70730d Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 7 Jun 2020 18:17:58 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3838 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/ppm/ximtoppm.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'converter') 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]; -- cgit 1.4.1