From: Jouni Malinen Date: Thu, 23 Jun 2016 10:23:46 +0000 (+0300) Subject: Undefine __bitwise before defining it for sparse X-Git-Tag: hostap_2_6~356 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6527b52ead4e552afa3037ca94ae2ab0291a2239;p=thirdparty%2Fhostap.git 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 --- 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