diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-03-17 15:52:33 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2023-03-17 15:55:39 +0100 |
commit | 74a6b33f3b48f8f2bd1b8e9a5026803965123eea (patch) | |
tree | e2314fcd7756aeac5cae081b852456faa21e6a16 /testsuites/validation/tc-task-performance.c | |
parent | doxygen: Add group for FreeBSD kernel header files (diff) | |
download | rtems-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.c | 12 |
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( |