summaryrefslogtreecommitdiffstats
path: root/src/basic/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r--src/basic/macro.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h
index 03a0d061b8..aa04039e80 100644
--- a/src/basic/macro.h
+++ b/src/basic/macro.h
@@ -328,13 +328,6 @@ static inline int __coverity_check_and_return__(int condition) {
ans; \
})
-#define UPDATE_FLAG(orig, flag, b) \
- ((b) ? ((orig) | (flag)) : ((orig) & ~(flag)))
-#define SET_FLAG(v, flag, b) \
- (v) = UPDATE_FLAG(v, flag, b)
-#define FLAGS_SET(v, flags) \
- ((~(v) & (flags)) == 0)
-
#define SWAP_TWO(x, y) do { \
typeof(x) _t = (x); \
(x) = (y); \