summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/objectimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-03 09:19:59 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-04 07:24:30 +0200
commit876dde7a7dc5c44952bea8503b5a45ebf7f5591c (patch)
treed631ffd578e1d9917601b7118e091e0eceb8b56b /cpukit/score/include/rtems/score/objectimpl.h
parentscore: Simplify _Objects_Id_to_name() (diff)
downloadrtems-876dde7a7dc5c44952bea8503b5a45ebf7f5591c.tar.bz2
score: Make _Objects_Information_table const
The _Objects_Information_table is statically initialized. So, we can make it read-only.
Diffstat (limited to 'cpukit/score/include/rtems/score/objectimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/objectimpl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h
index 1129daf32f..fe087719b7 100644
--- a/cpukit/score/include/rtems/score/objectimpl.h
+++ b/cpukit/score/include/rtems/score/objectimpl.h
@@ -213,8 +213,8 @@ extern uint16_t _Objects_Maximum_nodes;
* class. From the ID, we can go to one of these information blocks,
* and obtain a pointer to the appropriate object control block.
*/
-extern Objects_Information
- **_Objects_Information_table[OBJECTS_APIS_LAST + 1];
+extern Objects_Information ** const
+_Objects_Information_table[ OBJECTS_APIS_LAST + 1 ];
/**
* This function extends an object class information record.