diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-05-03 17:32:15 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-05-03 17:32:15 -0700 |
commit | 28eecd8965aedbd75727fb0797a2e7033d5c54ee (patch) | |
tree | 1cac9ffc5f7fe7fd82d59b4accd7b8cf85762f74 /memdisk/inflate.c | |
parent | f8c463722022008c8412a69f90576d2bf38818ed (diff) | |
download | syslinux-28eecd8965aedbd75727fb0797a2e7033d5c54ee.tar.gz |
Across-the-board stealth whitespace cleanup
Diffstat (limited to 'memdisk/inflate.c')
-rw-r--r-- | memdisk/inflate.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/memdisk/inflate.c b/memdisk/inflate.c index 29749703..9e1d79aa 100644 --- a/memdisk/inflate.c +++ b/memdisk/inflate.c @@ -3,9 +3,9 @@ /* inflate.c -- Not copyrighted 1992 by Mark Adler version c10p1, 10 January 1993 */ -/* +/* * Adapted for booting Linux by Hannu Savolainen 1993 - * based on gzip-1.0.3 + * based on gzip-1.0.3 * * Nicolas Pitre <nico@cam.org>, 1999/04/14 : * Little mods for all variable to reside either into rodata or bss segments @@ -52,7 +52,7 @@ chunks), otherwise the dynamic method is used. In the latter case, the codes are customized to the probabilities in the current block, and so can code it much better than the pre-determined fixed codes. - + The Huffman codes themselves are decoded using a multi-level table lookup, in order to maximize the speed of decoding plus the speed of building the decoding tables. See the comments below that precede the @@ -129,7 +129,7 @@ struct huft { /* Function prototypes */ -STATIC int huft_build OF((unsigned *, unsigned, unsigned, +STATIC int huft_build OF((unsigned *, unsigned, unsigned, const ush *, const ush *, struct huft **, int *)); STATIC int huft_free OF((struct huft *)); STATIC int inflate_codes OF((struct huft *, struct huft *, int, int)); @@ -175,7 +175,7 @@ static const ush cpdext[] = { /* Extra bits for distance codes */ /* Macros for inflate() bit peeking and grabbing. The usage is: - + NEEDBITS(j) x = b & mask_bits[j]; DUMPBITS(j) @@ -302,7 +302,7 @@ DEBG("huft1 "); memzero(c, sizeof(c)); p = b; i = n; do { - Tracecv(*p, (stderr, (n-i >= ' ' && n-i <= '~' ? "%c %d\n" : "0x%x %d\n"), + Tracecv(*p, (stderr, (n-i >= ' ' && n-i <= '~' ? "%c %d\n" : "0x%x %d\n"), n-i, *p)); c[*p]++; /* assume all entries <= BMAX */ p++; /* Can't combine with above line (Solaris bug) */ @@ -496,7 +496,7 @@ struct huft *t; /* table to free */ q = (--p)->v.t; free((char*)p); p = q; - } + } return 0; } @@ -965,7 +965,7 @@ STATIC int inflate() hufts = 0; gzip_mark(&ptr); if ((r = inflate_block(&e)) != 0) { - gzip_release(&ptr); + gzip_release(&ptr); return r; } gzip_release(&ptr); @@ -1003,7 +1003,7 @@ static ulg crc; /* initialized in makecrc() so it'll reside in bss */ #define CRC_VALUE (crc ^ 0xffffffffL) /* - * Code to compute the CRC-32 table. Borrowed from + * Code to compute the CRC-32 table. Borrowed from * gzip-1.0.3/makecrc.c. */ |