datapath: Hash and compare only the part of sw_flow_key actually used.
[openvswitch] / lib / util.h
index 4ed291ab49eb2c28bc5e5a5be505024268984c7e..2be7a70999f54d8abc73b00108e08c5e6dfab18c 100644 (file)
 #endif
 #endif
 
-#ifndef __cplusplus
+#ifdef __CHECKER__
+#define BUILD_ASSERT(EXPR) ((void) 0)
+#define BUILD_ASSERT_DECL(EXPR) extern int (*build_assert(void))[1]
+#elif !defined(__cplusplus)
 /* Build-time assertion building block. */
 #define BUILD_ASSERT__(EXPR) \
         sizeof(struct { unsigned int build_assert_failed : (EXPR) ? 1 : -1; })