From 723c2730d5ef3b3f2650d2e5f7785303c3a2a93c Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 20 Jan 2019 18:32:41 +0000 Subject: whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3511 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- lib/pgm.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'lib') diff --git a/lib/pgm.h b/lib/pgm.h index 2de8d531..81e86cfb 100644 --- a/lib/pgm.h +++ b/lib/pgm.h @@ -24,7 +24,7 @@ typedef unsigned int gray; (because then old Netpbm programs can process them, and they're only half as big). - So we keep PGM_MAXMAXVAL = 255, even though it's kind of a misnomer. + So we keep PGM_MAXMAXVAL = 255, even though it's kind of a misnomer. Note that one could always write a file with maxval > PGM_MAXMAXVAL and it would just go into plain (text) format instead of raw (binary) format. @@ -62,7 +62,7 @@ typedef unsigned int gray; /* Declarations of routines. */ -void +void pgm_init(int * const argcP, char ** const argv); @@ -78,35 +78,35 @@ pgm_allocrow(unsigned int const cols); gray ** pgm_readpgm(FILE * const file, int * const colsP, - int * const rowsP, + int * const rowsP, gray * const maxvalP); void pgm_readpgminit(FILE * const file, - int * const colsP, + int * const colsP, int * const rowsP, gray * const maxvalP, int * const formatP); void pgm_readpgmrow(FILE * const file, - gray * const grayrow, + gray * const grayrow, int const cols, gray const maxval, int const format); void -pgm_writepgminit(FILE * const fileP, - int const cols, - int const rows, - gray const maxval, +pgm_writepgminit(FILE * const fileP, + int const cols, + int const rows, + gray const maxval, int const forceplain); void -pgm_writepgmrow(FILE * const fileP, - const gray * const grayrow, - int const cols, - gray const maxval, +pgm_writepgmrow(FILE * const fileP, + const gray * const grayrow, + int const cols, + gray const maxval, int const forceplain); void @@ -121,11 +121,11 @@ void pgm_nextimage(FILE * const file, int * const eofP); void -pgm_check(FILE * const file, - enum pm_check_type const check_type, - int const format, - int const cols, - int const rows, +pgm_check(FILE * const file, + enum pm_check_type const check_type, + int const format, + int const cols, + int const rows, gray const maxval, enum pm_check_code * const retval_p); -- cgit 1.4.1