[rtems commit] libtest: Constify
Sebastian Huber
sebh at rtems.org
Mon Aug 10 09:50:25 UTC 2020
Module: rtems
Branch: master
Commit: 20c79bf5eb35df83253b9ead0a6c070b575100cb
Changeset: http://git.rtems.org/rtems/commit/?id=20c79bf5eb35df83253b9ead0a6c070b575100cb
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Aug 7 20:30:09 2020 +0200
libtest: Constify
Update #3199.
---
cpukit/libtest/t-test-interrupt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/libtest/t-test-interrupt.c b/cpukit/libtest/t-test-interrupt.c
index 530fc74..5e17043 100644
--- a/cpukit/libtest/t-test-interrupt.c
+++ b/cpukit/libtest/t-test-interrupt.c
@@ -352,7 +352,7 @@ T_interrupt_teardown(void *arg)
ctx->arg = NULL;
}
-static T_fixture T_interrupt_fixture = {
+static const T_fixture T_interrupt_fixture = {
.teardown = T_interrupt_teardown,
.initial_context = &T_interrupt_instance
};
More information about the vc
mailing list