summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-03-16 16:14:58 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-03-16 16:17:40 +0100
commit0e773420f725d6f28e6de2c0b9ff667853929667 (patch)
treec92d85972d81541b26ca4553b9fce80e76149dfb
parentscore/arm: enhance ARMV7M MPU setup with capability to set control register (diff)
downloadrtems-0e773420f725d6f28e6de2c0b9ff667853929667.tar.bz2
rtems/test.h: Use __attribute__
-rw-r--r--cpukit/include/rtems/test.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/include/rtems/test.h b/cpukit/include/rtems/test.h
index e1f2fe90b9..0eb2c37b67 100644
--- a/cpukit/include/rtems/test.h
+++ b/cpukit/include/rtems/test.h
@@ -2365,8 +2365,8 @@ T_case_context T_case_instance_##name = { \
NULL \
}; \
static T_case_context * const T_case_item_##name \
-__attribute((__section__(".rtemsroset._T.content.0." #name))) \
-__attribute((__used__)) = &T_case_instance_##name; \
+__attribute__((__section__(".rtemsroset._T.content.0." #name))) \
+__attribute__((__used__)) = &T_case_instance_##name; \
void T_case_body_##name(void)
#else /* __rtems__ */
#define T_TEST_CASE_FIXTURE(name, fixture) \
@@ -2377,7 +2377,7 @@ T_case_context T_case_instance_##name = { \
fixture, \
NULL \
}; \
-__attribute((__constructor__)) static void \
+__attribute__((__constructor__)) static void \
T_case_register_##name(void) \
{ \
T_case_register(&T_case_instance_##name); \