mirror of
https://github.com/versity/scoutfs.git
synced 2026-08-03 22:06:43 +00:00
scoutfs-utils: clean up _MAX defines
Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -34,8 +34,6 @@ typedef u32 __u32;
|
||||
typedef s32 __s32;
|
||||
typedef u64 __u64;
|
||||
|
||||
#define U16_MAX ((u16)~0)
|
||||
|
||||
typedef u16 __sp_biwise __le16;
|
||||
typedef u16 __sp_biwise __be16;
|
||||
typedef u32 __sp_biwise __le32;
|
||||
|
||||
@@ -61,6 +61,10 @@ do { \
|
||||
((type *)((void *)(ptr) - offsetof(type, memb)))
|
||||
|
||||
#define BITS_PER_LONG (sizeof(long) * 8)
|
||||
#define U8_MAX ((u8)~0ULL)
|
||||
#define U16_MAX ((u16)~0ULL)
|
||||
#define U32_MAX ((u32)~0ULL)
|
||||
#define U64_MAX ((u64)~0ULL)
|
||||
|
||||
/*
|
||||
* return -1,0,+1 based on the memcmp comparison of the minimum of their
|
||||
|
||||
Reference in New Issue
Block a user