aboutsummaryrefslogtreecommitdiffstats
path: root/test/testsem.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-28 10:38:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-28 10:38:32 +0000
commitd2b17bc167b6168c31ab478a339413d207b51800 (patch)
treeded4a2d30b0c92467cec2d1055a3463f8085c0ac /test/testsem.c
parenteb75c053eb46cbeb4ad9c0b7b179ba1acb20eba4 (diff)
downloadChibiOS-d2b17bc167b6168c31ab478a339413d207b51800.tar.gz
ChibiOS-d2b17bc167b6168c31ab478a339413d207b51800.tar.bz2
ChibiOS-d2b17bc167b6168c31ab478a339413d207b51800.zip
Added the const attribute to the test pattern arrays.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@805 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/testsem.c')
-rw-r--r--test/testsem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsem.c b/test/testsem.c
index 35e37d965..4f2943964 100644
--- a/test/testsem.c
+++ b/test/testsem.c
@@ -105,7 +105,7 @@ const struct testcase testsem2 = {
/*
* Test sequence for semaphores pattern.
*/
-const struct testcase *patternsem[] = {
+const struct testcase * const patternsem[] = {
#if CH_USE_SEMAPHORES
&testsem1,
#if CH_USE_SEMAPHORES_TIMEOUT