diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/bitset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bitset.h b/include/bitset.h index 5fe91dd..6be07d6 100644 --- a/include/bitset.h +++ b/include/bitset.h @@ -6,7 +6,7 @@ #define __MLIB_BITSLOT(x) ((x) / CHAR_BIT) #define __MLIB_BITMASK(x) (1 << ((x) % CHAR_BIT)) -#define BITSET(name, n) unsigned char name[(n + CHAR_BIT - 1) / CHAR_BIT] +#define bitset(name, n) unsigned char name[(n + CHAR_BIT - 1) / CHAR_BIT] #define CLRBIT(bs, x) ((bs)[__MLIB_BITSLOT(x)] &= ~__MLIB_BITMASK(x)) #define SETBIT(bs, x) ((bs)[__MLIB_BITSLOT(x)] |= __MLIB_BITMASK(x)) |