From 3e14d78d755abecb3282e193a40d32ec80660af9 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 21 Jan 2007 19:51:05 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@215 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- editor/ppmbrighten.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/editor/ppmbrighten.c b/editor/ppmbrighten.c index 93649082..1dcdbd7f 100644 --- a/editor/ppmbrighten.c +++ b/editor/ppmbrighten.c @@ -21,7 +21,7 @@ struct cmdlineInfo { /* All the information the user supplied in the command line, in a form easy for the program to use. */ - const char *inputFilespec; /* '-' if stdin */ + const char * inputFilespec; /* '-' if stdin */ float saturation; float value; unsigned int normalize; @@ -29,10 +29,9 @@ struct cmdlineInfo { - static void -parseCommandLine (int argc, char ** argv, - struct cmdlineInfo *cmdlineP) { +parseCommandLine(int argc, char ** argv, + struct cmdlineInfo * const cmdlineP) { /*---------------------------------------------------------------------------- parse program command line described in Unix standard form by argc and argv. Return the information in the options as *cmdlineP. @@ -270,9 +269,9 @@ int main(int argc, char * argv[]) { struct cmdlineInfo cmdline; - FILE *ifP; + FILE * ifP; pixval minValue, maxValue; - pixel *pixelrow; + pixel * pixelrow; pixval maxval; int rows, cols, format, row; -- cgit 1.4.1