unsigned shift = sizeof(input_bitbuf_t) * 8 - 16 -
istream->bitsleft;
istream->bitbuf |= (input_bitbuf_t)le16_to_cpu(
- *(u16*)istream->data) << shift;
+ *(le16*)istream->data) << shift;
istream->data += 2;
istream->bitsleft += 16;
istream->data_bytes_left -= 2;
* directory in the decode_table, as the
* decode_table contains 2**table_bits entries.
*/
-static inline int
+static _always_inline_attribute int
read_huffsym(struct input_bitstream *istream,
const u16 decode_table[],
const u8 lens[],
return ret;
}
-extern int make_huffman_decode_table(u16 decode_table[], unsigned num_syms,
- unsigned num_bits, const u8 lengths[],
- unsigned max_codeword_len);
+extern int
+make_huffman_decode_table(u16 decode_table[], unsigned num_syms,
+ unsigned num_bits, const u8 lengths[],
+ unsigned max_codeword_len);
#endif /* _WIMLIB_DECOMPRESS_H */