aboutsummaryrefslogtreecommitdiffstats
path: root/test/testevt.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testevt.c')
-rw-r--r--test/testevt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/testevt.c b/test/testevt.c
index 31f8870b0..e053737a5 100644
--- a/test/testevt.c
+++ b/test/testevt.c
@@ -54,7 +54,13 @@
#define ALLOWED_DELAY MS2ST(5)
-static EventSource es1, es2;
+/*
+ * Note, the static initializers are not really required because the
+ * variables are explicitly initialized in each test case. It is done in order
+ * to test the macros.
+ */
+static EVENTSOURCE_DECL(es1);
+static EVENTSOURCE_DECL(es2);
/**
* @page test_events_001 Events registration and dispatch