diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-09-27 21:44:29 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2009-09-27 21:44:29 +0000 |
commit | 43939e66b1d4eeb2f3799c124f3598756755005a (patch) | |
tree | 15733092de55d52421a6ea02f5a43d5f8ff24393 /lib/libppm2.c | |
parent | 49f4336c9bba33650573ba780b70bc501b38643e (diff) | |
download | netpbm-mirror-43939e66b1d4eeb2f3799c124f3598756755005a.tar.gz netpbm-mirror-43939e66b1d4eeb2f3799c124f3598756755005a.tar.xz netpbm-mirror-43939e66b1d4eeb2f3799c124f3598756755005a.zip |
Rebase Stable series to current Advanced: 10.47.04
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@995 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libppm2.c')
-rw-r--r-- | lib/libppm2.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/lib/libppm2.c b/lib/libppm2.c index 52c4ab16..3bf74bd4 100644 --- a/lib/libppm2.c +++ b/lib/libppm2.c @@ -17,7 +17,6 @@ #include "pm_c_util.h" #include "mallocvar.h" #include "ppm.h" -#include "libppm.h" void ppm_writeppminit(FILE* const fileP, @@ -145,10 +144,10 @@ ppm_writeppmrowraw(FILE * const fileP, static void -ppm_writeppmrowplain(FILE * const fileP, - pixel * const pixelrow, - unsigned int const cols, - pixval const maxval) { +ppm_writeppmrowplain(FILE * const fileP, + const pixel * const pixelrow, + unsigned int const cols, + pixval const maxval) { unsigned int col; unsigned int charcount; @@ -178,11 +177,11 @@ ppm_writeppmrowplain(FILE * const fileP, void -ppm_writeppmrow(FILE * const fileP, - pixel * const pixelrow, - int const cols, - pixval const maxval, - int const forceplain) { +ppm_writeppmrow(FILE * const fileP, + const pixel * const pixelrow, + int const cols, + pixval const maxval, + int const forceplain) { if (forceplain || pm_plain_output || maxval >= 1<<16) ppm_writeppmrowplain(fileP, pixelrow, cols, maxval); |