summaryrefslogtreecommitdiffstats
path: root/testsuites/validation/tc-message-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-message-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 'testsuites/validation/tc-message-performance.c')
-rw-r--r--testsuites/validation/tc-message-performance.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/testsuites/validation/tc-message-performance.c b/testsuites/validation/tc-message-performance.c
index 5a33d1a148..5d3e0527e0 100644
--- a/testsuites/validation/tc-message-performance.c
+++ b/testsuites/validation/tc-message-performance.c
@@ -121,15 +121,17 @@ static RtemsMessageValPerf_Context
#define MAXIMUM_MESSAGE_SIZE 8
-typedef RtemsMessageValPerf_Context Context;
+#define EVENT_END RTEMS_EVENT_0
+
+#define EVENT_SEND RTEMS_EVENT_1
+
+#define EVENT_SEND_END RTEMS_EVENT_2
-typedef enum {
- EVENT_END = RTEMS_EVENT_0,
- EVENT_SEND = RTEMS_EVENT_1,
- EVENT_SEND_END = RTEMS_EVENT_2,
- EVENT_RECEIVE = RTEMS_EVENT_3,
- EVENT_RECEIVE_END = RTEMS_EVENT_4
-} Event;
+#define EVENT_RECEIVE RTEMS_EVENT_3
+
+#define EVENT_RECEIVE_END RTEMS_EVENT_4
+
+typedef RtemsMessageValPerf_Context Context;
static RTEMS_MESSAGE_QUEUE_BUFFER( MAXIMUM_MESSAGE_SIZE )
storage_area[ MAXIMUM_PENDING_MESSAGES ];