X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Flzx.h;h=ed6a4d4ec2aba1c87af50033bf22649495a55cab;hp=8a3968920f78d93c52c62c679ef4dca60a84bad5;hb=720db87557918105b17b51b03f264ddb9b89d2b9;hpb=a3bb2e86f2640f5d593d00250a627d3dcc9747a2 diff --git a/src/lzx.h b/src/lzx.h index 8a396892..ed6a4d4e 100644 --- a/src/lzx.h +++ b/src/lzx.h @@ -80,7 +80,8 @@ extern const u8 lzx_extra_bits[LZX_NUM_POSITION_SLOTS]; /* Given the number of a LZX position slot, return the number of extra bits that * are needed to encode the match offset. */ -static inline unsigned lzx_get_num_extra_bits(unsigned position_slot) +static inline unsigned +lzx_get_num_extra_bits(unsigned position_slot) { #ifdef USE_LZX_EXTRA_BITS_ARRAY /* Use a table */ @@ -101,10 +102,12 @@ struct lru_queue { u32 R2; }; -extern int lzx_decompress(const void *compressed_data, unsigned compressed_len, - void *uncompressed_data, unsigned uncompressed_len); +extern int +lzx_decompress(const void *compressed_data, unsigned compressed_len, + void *uncompressed_data, unsigned uncompressed_len); -extern int lzx_compress(const void *uncompressed_data, unsigned uncompressed_len, - void *compressed_data, unsigned *compressed_len_ret); +extern unsigned +lzx_compress(const void *uncompressed_data, unsigned uncompressed_len, + void *compressed_data); #endif /* _WIMLIB_LZX_H */