From 4a98202ddc139fde50009f2858a9a40743faaaa9 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 29 Mar 2024 00:44:54 +0100 Subject: Lowercase BITSET() to bitset() --- include/bitset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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)) -- cgit v1.2.3