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
master
gdisirio 2009-02-28 10:38:32 +00:00
parent eb75c053eb
commit d2b17bc167
11 changed files with 11 additions and 11 deletions

View File

@ -416,7 +416,7 @@ const struct testcase testbmk10 = {
/*
* Test sequence for benchmarks pattern.
*/
const struct testcase *patternbmk[] = {
const struct testcase * const patternbmk[] = {
#if !TEST_NO_BENCHMARKS
&testbmk1,
&testbmk2,

View File

@ -104,7 +104,7 @@ const struct testcase testcond2 = {
/*
* Test sequence for condvars pattern.
*/
const struct testcase *patterncond[] = {
const struct testcase * const patterncond[] = {
#if CH_USE_CONDVARS && CH_USE_MUTEXES
&testcond1,
&testcond2,

View File

@ -130,7 +130,7 @@ const struct testcase testdyn2 = {
/*
* Test sequence for dynamic APIs pattern.
*/
const struct testcase *patterndyn[] = {
const struct testcase * const patterndyn[] = {
#if CH_USE_DYNAMIC
#if CH_USE_HEAP
&testdyn1,

View File

@ -103,7 +103,7 @@ const struct testcase testevt1 = {
/*
* Test sequence for events pattern.
*/
const struct testcase *patternevt[] = {
const struct testcase * const patternevt[] = {
#if CH_USE_EVENTS
&testevt1,
#endif

View File

@ -79,7 +79,7 @@ const struct testcase testheap1 = {
/*
* Test sequence for heap pattern.
*/
const struct testcase *patternheap[] = {
const struct testcase * const patternheap[] = {
#if CH_USE_HEAP
&testheap1,
#endif

View File

@ -93,7 +93,7 @@ const struct testcase testmbox1 = {
/*
* Test sequence for mailboxes pattern.
*/
const struct testcase *patternmbox[] = {
const struct testcase * const patternmbox[] = {
#if CH_USE_MAILBOXES && CH_USE_SEMAPHORES_TIMEOUT
&testmbox1,
#endif

View File

@ -65,7 +65,7 @@ const struct testcase testmsg1 = {
/*
* Test sequence for messages pattern.
*/
const struct testcase *patternmsg[] = {
const struct testcase * const patternmsg[] = {
#if CH_USE_MESSAGES
&testmsg1,
#endif

View File

@ -218,7 +218,7 @@ const struct testcase testmtx3 = {
/*
* Test sequence for mutexes pattern.
*/
const struct testcase *patternmtx[] = {
const struct testcase * const patternmtx[] = {
#if CH_USE_MUTEXES
&testmtx1,
&testmtx2,

View File

@ -62,7 +62,7 @@ const struct testcase testpools1 = {
/*
* Test sequence for pools pattern.
*/
const struct testcase *patternpools[] = {
const struct testcase * const patternpools[] = {
#if CH_USE_MEMPOOLS
&testpools1,
#endif

View File

@ -76,7 +76,7 @@ const struct testcase testrdy2 = {
/*
* Test sequence for ready list pattern.
*/
const struct testcase *patternrdy[] = {
const struct testcase * const patternrdy[] = {
&testrdy1,
&testrdy2,
NULL

View File

@ -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