From 6527b52ead4e552afa3037ca94ae2ab0291a2239 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 23 Jun 2016 13:23:46 +0300 Subject: [PATCH] Undefine __bitwise before defining it for sparse This gets rid of a compiler warning due to a bit different construction in linux/types.h. Signed-off-by: Jouni Malinen --- src/utils/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/common.h b/src/utils/common.h index d19927b37..197e4d1b2 100644 --- a/src/utils/common.h +++ b/src/utils/common.h @@ -419,6 +419,7 @@ void perror(const char *s); */ #ifdef __CHECKER__ #define __force __attribute__((force)) +#undef __bitwise #define __bitwise __attribute__((bitwise)) #else #define __force