]> wimlib.net Git - wimlib/blobdiff - src/lzx.h
implement WIMLIB_INIT_FLAG_ASSUME_UTF8
[wimlib] / src / lzx.h
index 8a3968920f78d93c52c62c679ef4dca60a84bad5..5f87076e6a100363a3f98b4c149047ca40189f75 100644 (file)
--- 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 */