bitops: rename bit scan functions
authorEric Biggers <ebiggers3@gmail.com>
Sat, 9 Jul 2016 15:01:25 +0000 (10:01 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 9 Jul 2016 15:11:00 +0000 (10:11 -0500)
commit8618172276fae088f311923a61bbf26c3d4d8941
treee33541c31a47a3f4127899057640f13b75bf5c2b
parent3ceffe51aa820d5e804d859935bf34584be08fe2
bitops: rename bit scan functions

Our bit scan functions use 0-based indices and do not allow zero inputs.
Rename them to 'bsr' and 'bsf' to match the x86 instructions and avoid
confusion with another common convention for 'fls' and 'ffs'.
include/wimlib/bitops.h
include/wimlib/compiler.h
include/wimlib/lz_extend.h
src/lzx_common.c
src/resource.c
src/xpress_compress.c