diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-03-29 00:44:54 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-03-29 00:44:54 +0100 |
commit | 4a98202ddc139fde50009f2858a9a40743faaaa9 (patch) | |
tree | 52d1ccc76024f5cc00951695ccc607bae464cb58 | |
parent | f11d57a13a679703b3e0132747156d62197a4733 (diff) |
Lowercase BITSET() to bitset()
-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)) |