summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_aux.h')
-rw-r--r--lib/igt_aux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_aux.h b/lib/igt_aux.h
index 177bd1d2..69894484 100644
--- a/lib/igt_aux.h
+++ b/lib/igt_aux.h
@@ -285,7 +285,7 @@ struct igt_list {
struct igt_list *next;
};
-#define __IGT_INIT_LIST(name) (struct igt_list){ &(name), &(name) }
+#define __IGT_INIT_LIST(name) { &(name), &(name) }
#define IGT_LIST(name) struct igt_list name = __IGT_INIT_LIST(name);
static inline void igt_list_init(struct igt_list *list)