about summary refs log tree commit diff
path: root/lib/libppm1.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-09-08 18:07:04 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2007-09-08 18:07:04 +0000
commitcc4dde06897248afb92f5c037d40a5f239554ffb (patch)
tree969ca1325b5d4e7dae63cc844742b7b54c0da312 /lib/libppm1.c
parent94b1e38e7b95863d126759f652568671b70a1be0 (diff)
downloadnetpbm-mirror-cc4dde06897248afb92f5c037d40a5f239554ffb.tar.gz
netpbm-mirror-cc4dde06897248afb92f5c037d40a5f239554ffb.tar.xz
netpbm-mirror-cc4dde06897248afb92f5c037d40a5f239554ffb.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@407 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/libppm1.c')
-rw-r--r--lib/libppm1.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/lib/libppm1.c b/lib/libppm1.c
index 425f2ab1..a6b00e08 100644
--- a/lib/libppm1.c
+++ b/lib/libppm1.c
@@ -154,11 +154,11 @@ ppm_readppminit(FILE *   const fileP,
 
 
 static void
-readppm(FILE *       const fileP, 
-        pixel *      const pixelrow, 
-        unsigned int const cols, 
-        pixval       const maxval, 
-        int          const format) {
+readPpmRow(FILE *       const fileP, 
+           pixel *      const pixelrow, 
+           unsigned int const cols, 
+           pixval       const maxval, 
+           int          const format) {
 
     unsigned int col;
 
@@ -184,11 +184,11 @@ readppm(FILE *       const fileP,
 
 
 static void
-readrppm(FILE *       const fileP, 
-         pixel *      const pixelrow, 
-         unsigned int const cols, 
-         pixval       const maxval, 
-         int          const format) {
+readRppmRow(FILE *       const fileP, 
+            pixel *      const pixelrow, 
+            unsigned int const cols, 
+            pixval       const maxval, 
+            int          const format) {
 
     unsigned int const bytesPerSample = maxval < 256 ? 1 : 2;
     unsigned int const bytesPerRow    = cols * 3 * bytesPerSample;
@@ -260,11 +260,11 @@ readrppm(FILE *       const fileP,
 
 
 static void
-readpgm(FILE *       const fileP, 
-        pixel *      const pixelrow, 
-        unsigned int const cols, 
-        pixval       const maxval, 
-        int          const format) {
+readPgmRow(FILE *       const fileP, 
+           pixel *      const pixelrow, 
+           unsigned int const cols, 
+           pixval       const maxval, 
+           int          const format) {
 
     jmp_buf jmpbuf;
     jmp_buf * origJmpbufP;
@@ -295,11 +295,11 @@ readpgm(FILE *       const fileP,
 
 
 static void
-readpbm(FILE *       const fileP, 
-        pixel *      const pixelrow, 
-        unsigned int const cols, 
-        pixval       const maxval, 
-        int          const format) {
+readPbmRow(FILE *       const fileP, 
+           pixel *      const pixelrow, 
+           unsigned int const cols, 
+           pixval       const maxval, 
+           int          const format) {
 
     jmp_buf jmpbuf;
     jmp_buf * origJmpbufP;
@@ -338,7 +338,7 @@ ppm_readppmrow(FILE *  const fileP,
 
     switch (format) {
     case PPM_FORMAT:
-        readppm(fileP, pixelrow, cols, maxval, format);
+        readPpmRow(fileP, pixelrow, cols, maxval, format);
         break;
 
     /* For PAM, we require a depth of 3, which means the raster format
@@ -346,17 +346,17 @@ ppm_readppmrow(FILE *  const fileP,
     */
     case PAM_FORMAT:
     case RPPM_FORMAT:
-        readrppm(fileP, pixelrow, cols, maxval, format);
+        readRppmRow(fileP, pixelrow, cols, maxval, format);
         break;
 
     case PGM_FORMAT:
     case RPGM_FORMAT:
-        readpgm(fileP, pixelrow, cols, maxval, format);
+        readPgmRow(fileP, pixelrow, cols, maxval, format);
         break;
 
     case PBM_FORMAT:
     case RPBM_FORMAT:
-        readpbm(fileP, pixelrow, cols, maxval, format);
+        readPbmRow(fileP, pixelrow, cols, maxval, format);
         break;
 
     default: