summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tc-task-performance.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-03-17 15:52:33 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-03-17 15:55:39 +0100
commit74a6b33f3b48f8f2bd1b8e9a5026803965123eea (patch)
treee2314fcd7756aeac5cae081b852456faa21e6a16 /testsuites/validation/tc-task-performance.c
parentdoxygen: Add group for FreeBSD kernel header files (diff)
downloadrtems-74a6b33f3b48f8f2bd1b8e9a5026803965123eea.tar.bz2
validation: Replace enum Event with defines
There is a Doxygen limitation that all compound names (enum, struct, class, union, group) within a project must be unique. Update #3716.
Diffstat (limited to '')
-rw-r--r--testsuites/validation/tc-task-performance.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuites/validation/tc-task-performance.c b/testsuites/validation/tc-task-performance.c
index d660c3ef2f..a13f745732 100644
--- a/testsuites/validation/tc-task-performance.c
+++ b/testsuites/validation/tc-task-performance.c
@@ -113,13 +113,13 @@ typedef struct {
static RtemsTaskValPerf_Context
RtemsTaskValPerf_Instance;
-typedef RtemsTaskValPerf_Context Context;
+#define EVENT_RESTART RTEMS_EVENT_0
+
+#define EVENT_SET_END RTEMS_EVENT_1
-enum {
- EVENT_RESTART = RTEMS_EVENT_0,
- EVENT_SET_END = RTEMS_EVENT_1,
- EVENT_BUSY = RTEMS_EVENT_2
-} Event;
+#define EVENT_BUSY RTEMS_EVENT_2
+
+typedef RtemsTaskValPerf_Context Context;
RTEMS_ALIGNED( RTEMS_TASK_STORAGE_ALIGNMENT ) static char task_storage[
RTEMS_TASK_STORAGE_SIZE(