add functions for bit-reversal
commit712691d8d8abbeb97f21df8c1d923d8694996ee7
authorHarald Welte <laforge@gnumonks.org>
Thu, 1 Sep 2011 12:47:31 +0000 (1 14:47 +0200)
committerHarald Welte <laforge@gnumonks.org>
Thu, 1 Sep 2011 12:47:31 +0000 (1 14:47 +0200)
tree9114a0b62186b35333dbb17b067d068bba8e02b4
parent36c5a3e2857b049e1e979beb7d476426ae475831
add functions for bit-reversal

Sometimes we need stuff like reversing every bit in each byte (but not
the byte-order).
configure.ac
include/osmocom/core/bits.h
src/bits.c
tests/Makefile.am
tests/bits/Makefile.am [new file with mode: 0644]
tests/bits/bitrev_test.c [new file with mode: 0644]