summaryrefslogtreecommitdiff
path: root/src/basic/macro.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/macro.h')
-rw-r--r--src/basic/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/macro.h b/src/basic/macro.h
index 8fae4d0ede..ea01d701d2 100644
--- a/src/basic/macro.h
+++ b/src/basic/macro.h
@@ -406,7 +406,7 @@ do { \
#define IN_SET(x, y, ...) \
({ \
- const typeof(y) _array[] = { (y), __VA_ARGS__ }; \
+ static const typeof(y) _array[] = { (y), __VA_ARGS__ }; \
const typeof(y) _x = (x); \
unsigned _i; \
bool _found = false; \