scoutfs-utils: clean up _MAX defines

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2018-04-04 09:15:54 -05:00
committed by Mark Swan
parent 0770cc8c57
commit 65ce5c6ad5
2 changed files with 4 additions and 2 deletions
+4
View File
@@ -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