about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-01-15 02:51:20 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-01-15 02:51:20 +0000
commit232723d7c7afba588e57893a061502eec14e4cbf (patch)
treecd2f95e2425170a0cd4dfe6bc20aab59f38d3719
parent18b9e288ca76f46c86931fdf0720c7acf231bf81 (diff)
downloadnetpbm-mirror-232723d7c7afba588e57893a061502eec14e4cbf.tar.gz
netpbm-mirror-232723d7c7afba588e57893a061502eec14e4cbf.tar.xz
netpbm-mirror-232723d7c7afba588e57893a061502eec14e4cbf.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3733 9d0c8265-081b-0410-96cb-a4ca84ce46f8
-rw-r--r--editor/pamdice.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/editor/pamdice.c b/editor/pamdice.c
index b3b93dbc..6a59e826 100644
--- a/editor/pamdice.c
+++ b/editor/pamdice.c
@@ -231,7 +231,7 @@ computeOutputFilenameFormat(int           const format,
 
 static void
 openOutStreams(struct pam   const inpam,
-               struct pam         outpam[],
+               struct pam * const outpam,
                unsigned int const horizSlice,
                unsigned int const nHorizSlice,
                unsigned int const nVertSlice,
@@ -239,7 +239,7 @@ openOutStreams(struct pam   const inpam,
                unsigned int const sliceWidth,
                unsigned int const rightSliceWidth,
                unsigned int const hOverlap,
-               char         const outstem[]) {
+               const char * const outstem) {
 /*----------------------------------------------------------------------------
    Open the output files for a single horizontal slice (there's one file
    for each vertical slice) and write the Netpbm headers to them.  Also
@@ -278,7 +278,8 @@ openOutStreams(struct pam   const inpam,
 
 
 static void
-closeOutFiles(struct pam pam[], unsigned int const nVertSlice) {
+closeOutFiles(struct pam * const pam,
+              unsigned int const nVertSlice) {
 
     unsigned int vertSlice;
 
@@ -286,9 +287,11 @@ closeOutFiles(struct pam pam[], unsigned int const nVertSlice) {
         pm_close(pam[vertSlice].file);
 }
 
+
+
 static void
-sliceRow(tuple              inputRow[],
-         struct pam         outpam[],
+sliceRow(tuple *      const inputRow,
+         struct pam * const outpam,
          unsigned int const nVertSlice,
          unsigned int const hOverlap) {
 /*----------------------------------------------------------------------------