about summary refs log tree commit diff
path: root/lib/libpnm2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpnm2.c')
-rw-r--r--lib/libpnm2.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libpnm2.c b/lib/libpnm2.c
index fdfe0dc0..01ffa389 100644
--- a/lib/libpnm2.c
+++ b/lib/libpnm2.c
@@ -54,7 +54,7 @@ pnm_writepnminit(FILE * const fileP,
 
 static void
 writepgmrow(FILE *       const fileP, 
-            xel *        const xelrow, 
+            const xel *  const xelrow, 
             unsigned int const cols, 
             xelval       const maxval, 
             int          const format, 
@@ -89,7 +89,7 @@ writepgmrow(FILE *       const fileP,
 
 static void
 writepbmrow(FILE *       const fileP,
-            xel *        const xelrow,
+            const xel *  const xelrow,
             unsigned int const cols,
             bool         const plainFormat) {
 
@@ -121,12 +121,12 @@ writepbmrow(FILE *       const fileP,
 
 
 void
-pnm_writepnmrow(FILE * const fileP, 
-                xel *  const xelrow, 
-                int    const cols, 
-                xelval const maxval, 
-                int    const format, 
-                int    const forceplain) {
+pnm_writepnmrow(FILE *      const fileP, 
+                const xel * const xelrow, 
+                int         const cols, 
+                xelval      const maxval, 
+                int         const format, 
+                int         const forceplain) {
 
     bool const plainFormat = forceplain || pm_plain_output;