X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Flzx.h;h=5f87076e6a100363a3f98b4c149047ca40189f75;hb=1d87b938cd4fa2cac1dd51d2493c3eebf4ada94e;hp=8a3968920f78d93c52c62c679ef4dca60a84bad5;hpb=1ab60207e56968e480be6400c67844017598b7dd;p=wimlib diff --git a/src/lzx.h b/src/lzx.h index 8a396892..5f87076e 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,4 @@ 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_compress(const void *uncompressed_data, unsigned uncompressed_len, - void *compressed_data, unsigned *compressed_len_ret); - #endif /* _WIMLIB_LZX_H */