[rtems commit] libtests/block13: Add const qualifier

Sebastian Huber sebh at rtems.org
Mon Jun 4 15:27:26 UTC 2012


Module:    rtems
Branch:    master
Commit:    1f7b5b0142b8eb69dc5652b412586b7318467861
Changeset: http://git.rtems.org/rtems/commit/?id=1f7b5b0142b8eb69dc5652b412586b7318467861

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Jun  4 17:04:49 2012 +0200

libtests/block13: Add const qualifier

---

 testsuites/libtests/block13/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testsuites/libtests/block13/init.c b/testsuites/libtests/block13/init.c
index 43ce388..fa8ebc0 100644
--- a/testsuites/libtests/block13/init.c
+++ b/testsuites/libtests/block13/init.c
@@ -45,7 +45,7 @@ static const int action_sequence [READ_COUNT] = {
 
 #define UNUSED_LINE { 0, 0, 0, 0, 0, 0, 0, 0, 0 }
 
-static int expected_block_access_counts [READ_COUNT] [BLOCK_COUNT] = {
+static const int expected_block_access_counts [READ_COUNT] [BLOCK_COUNT] = {
    { 1, 0, 0, 0, 0, 0, 0, 0, 0 },
    { 1, 0, 1, 0, 0, 0, 0, 0, 0 },
    { 1, 0, 1, 1, 1, 1, 0, 0, 0 },




More information about the vc mailing list