diff options
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 ); } + + + |