From 4b091760fddc73ffc877563b445599db21557e78 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 8 Oct 2023 17:43:54 +0000 Subject: whitespace git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@4735 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- converter/ppm/ilbmtoppm.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'converter/ppm/ilbmtoppm.c') diff --git a/converter/ppm/ilbmtoppm.c b/converter/ppm/ilbmtoppm.c index 1b66c0b3..8a8cf9f3 100644 --- a/converter/ppm/ilbmtoppm.c +++ b/converter/ppm/ilbmtoppm.c @@ -112,6 +112,7 @@ ID2string(IFF_ID const id) { } + /**************************************************************************** Memory allocation ****************************************************************************/ @@ -154,6 +155,7 @@ alloc_rawrow(unsigned int const cols) { } + /**************************************************************************** Basic I/O functions ****************************************************************************/ @@ -207,6 +209,8 @@ get_byte(FILE * const ifP, return (unsigned char) i; } + + static long get_big_long(FILE * const ifP, IFF_ID const iffid, @@ -540,6 +544,7 @@ read_bmhd(FILE * const ifP, } + /**************************************************************************** ILBM functions ****************************************************************************/ @@ -594,6 +599,7 @@ read_ilbm_plane(FILE * const ifP, } + static const unsigned char bit_mask[] = {1, 2, 4, 8, 16, 32, 64, 128}; static void @@ -637,6 +643,7 @@ decodeRow(FILE * const ifP, } + static void decodeMask(FILE * const ifP, unsigned long * const remainingChunksizeP, @@ -699,6 +706,7 @@ decodeMask(FILE * const ifP, } + /**************************************************************************** Multipalette handling ****************************************************************************/ @@ -1609,6 +1617,8 @@ rgbn_to_ppm(FILE * const ifP, chunk_end(ifP, ID_BODY, remainingChunksize); } + + /**************************************************************************** Multipalette chunk reader @@ -1782,6 +1792,7 @@ PCHG_Decompress(PCHGHeader * const PCHG, } + static void PCHG_ConvertSmall(PCHGHeader * const pchgP, ColorMap * const cmapP, -- cgit 1.4.1