From e27cc4fba976edde9eb2d53b876788f315c73c87 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 9 Nov 2015 15:50:38 +1100 Subject: Properly annotate types.h for sparse This way we don't get hundreds of false warnings from sparse r.e. endian Signed-off-by: Stewart Smith --- include/types.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/types.h') diff --git a/include/types.h b/include/types.h index 36dc81d..07a9db6 100644 --- a/include/types.h +++ b/include/types.h @@ -17,11 +17,12 @@ #ifndef __TYPES_H #define __TYPES_H #include +#include /* These are currently just for clarity, but we could apply sparse. */ -typedef u16 __be16; -typedef u32 __be32; -typedef u64 __be64; +typedef beint16_t __be16; +typedef beint32_t __be32; +typedef beint64_t __be64; #endif /* __TYPES_H */ -- cgit v1.1