about summary refs log tree commit diff
path: root/converter/pbm/pbmtoplot.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-09-07 16:47:31 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2024-09-07 16:47:31 +0000
commit37693f98c95a44079507ccbb7fc51fbab72d6479 (patch)
treef2ec4b95b2a80eb0ea10df218d90e838760315ef /converter/pbm/pbmtoplot.c
parentd21bd279be4f70e9cdf4369691dd9e82fadfa5c4 (diff)
downloadnetpbm-mirror-37693f98c95a44079507ccbb7fc51fbab72d6479.tar.gz
netpbm-mirror-37693f98c95a44079507ccbb7fc51fbab72d6479.tar.xz
netpbm-mirror-37693f98c95a44079507ccbb7fc51fbab72d6479.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4934 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtoplot.c')
-rw-r--r--converter/pbm/pbmtoplot.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/converter/pbm/pbmtoplot.c b/converter/pbm/pbmtoplot.c
index db897bd0..b2a7b059 100644
--- a/converter/pbm/pbmtoplot.c
+++ b/converter/pbm/pbmtoplot.c
@@ -13,26 +13,23 @@
 #include <stdio.h>
 #include "pbm.h"
 
-static void puttwo ARGS((int i));
 static void
-puttwo( i )
-    int i;
+puttwo(int const i)
     {
     (void) putchar(i);
     (void) putchar(i >> 8);
     }
 
+
+
 int
-main( argc, argv )
-    int argc;
-    char* argv[];
-    {
+main(int argc, char * argv[]) {
+
     FILE* ifp;
-    register bit** bits;
-    register int row, col, scol;
+    bit** bits;
+    int row, col, scol;
     int rows, cols;
 
-
     pbm_init( &argc, argv );
 
     if ( argc > 2 )
@@ -73,7 +70,7 @@ main( argc, argv )
         }
 
     exit( 0 );
-    }
+}