aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-06-23 10:23:46 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-23 10:23:46 (GMT)
commit6527b52ead4e552afa3037ca94ae2ab0291a2239 (patch)
treec635473c74018012d17d72a6bc5c917e0d770687 /src
parent468b7b12a6e0edd41f288ad326d38a70d1126a68 (diff)
downloadhostap-6527b52ead4e552afa3037ca94ae2ab0291a2239.zip
hostap-6527b52ead4e552afa3037ca94ae2ab0291a2239.tar.gz
hostap-6527b52ead4e552afa3037ca94ae2ab0291a2239.tar.bz2
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 <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/utils/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/utils/common.h b/src/utils/common.h
index d19927b..197e4d1 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