diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-12-28 19:53:34 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-12-28 19:53:34 +0000 |
commit | 5d16663331afd0bc2edaeb2e49042dc219ce9c2f (patch) | |
tree | 476fbb2ab4311d4bb6d65b250825e254a7a2c1ef /converter/pbm/pbmtogem.c | |
parent | 42f0bf8e7f1ff88000a3584c265e6f1631662ec4 (diff) | |
download | netpbm-mirror-5d16663331afd0bc2edaeb2e49042dc219ce9c2f.tar.gz netpbm-mirror-5d16663331afd0bc2edaeb2e49042dc219ce9c2f.tar.xz netpbm-mirror-5d16663331afd0bc2edaeb2e49042dc219ce9c2f.zip |
promote Development to Advanced
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@4827 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtogem.c')
-rw-r--r-- | converter/pbm/pbmtogem.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/converter/pbm/pbmtogem.c b/converter/pbm/pbmtogem.c index 4fd30e92..64bcb761 100644 --- a/converter/pbm/pbmtogem.c +++ b/converter/pbm/pbmtogem.c @@ -32,7 +32,7 @@ * * Deficiencies: * Compression of repeated scanlines not added -* +* * Johann Haider (jh@fortec.tuwien.ac.at) * * 94/01/31 Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de) @@ -85,6 +85,8 @@ putinit (int const rows, int const cols) linerepeat = -1; } + + static void putitem( ) { @@ -119,6 +121,7 @@ putstring ( unsigned char *p, int n) } + static void flushrow( ) { @@ -173,7 +176,7 @@ flushrow( ) p++; col--; } - } + } if (p > outp) putstring (outp, p-outp); if (ferror (stdout)) @@ -181,6 +184,7 @@ flushrow( ) } + static void putrow( ) { @@ -203,6 +207,7 @@ putrow( ) } + int main( int argc, char* argv[]) { @@ -246,3 +251,6 @@ main( int argc, char* argv[]) exit( 0 ); } + + + |