diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-07 05:12:45 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-10-07 05:12:45 +0000 |
commit | 1bdb731976b708d57a322b0a103b635036041493 (patch) | |
tree | 5dde6ef6d6d4cfbc03557938fdc95c814cf24b6f /converter/pbm/pbmtodjvurle.c | |
parent | 0818fcd8f2e625fca9a1bb8e57fa41f3265d7534 (diff) | |
download | netpbm-mirror-1bdb731976b708d57a322b0a103b635036041493.tar.gz netpbm-mirror-1bdb731976b708d57a322b0a103b635036041493.tar.xz netpbm-mirror-1bdb731976b708d57a322b0a103b635036041493.zip |
whitespace
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4730 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pbm/pbmtodjvurle.c')
-rw-r--r-- | converter/pbm/pbmtodjvurle.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/converter/pbm/pbmtodjvurle.c b/converter/pbm/pbmtodjvurle.c index 83e99ec4..598abfbb 100644 --- a/converter/pbm/pbmtodjvurle.c +++ b/converter/pbm/pbmtodjvurle.c @@ -1,7 +1,7 @@ /* Convert a PBM image into the DjVu Bitonal RLE format described in the csepdjvu(1) documentation - + Copyright (c) 2004 Scott Pakin <scott+pbm@pakin.org> All rights reserved. @@ -9,7 +9,7 @@ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - + 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright @@ -17,7 +17,7 @@ documentation and/or other materials provided with the distribution. 3. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. - + THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. @@ -48,8 +48,9 @@ writebyte(FILE * const ofP, } + /* Write a run length to the RLE file. */ -static void +static void write_rle(FILE * const rlefile, uint32_t const tallyArg) { @@ -83,7 +84,7 @@ write_rle(FILE * const rlefile, -int +int main (int argc, const char * argv[]) { FILE * const rlefile = stdout; /* Generated Bitonal RLE file */ @@ -144,3 +145,6 @@ main (int argc, const char * argv[]) { return 0; } + + + |