diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-05-27 10:34:15 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2008-05-27 10:34:15 +0000 |
commit | bf95ccb5068543b453c1dfbf5e8ae7b6c814e1e4 (patch) | |
tree | e1ce92224d77dd59b5d6227c2c800c19d90ae605 /cpukit/sapi/src/itronapi.c | |
parent | Bugfix: Moved definition of ppp_softc into source file. (diff) | |
download | rtems-bf95ccb5068543b453c1dfbf5e8ae7b6c814e1e4.tar.bz2 |
Added const qualifier to various pointers and data tables to
reduce size of data area.
IMFS: Fixed creation of symbolic links to avoid a compiler warning.
DOSFS: Use LibBlock instead of read() to read the boot record.
Diffstat (limited to 'cpukit/sapi/src/itronapi.c')
-rw-r--r-- | cpukit/sapi/src/itronapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/sapi/src/itronapi.c b/cpukit/sapi/src/itronapi.c index e52a64e370..0d44db6801 100644 --- a/cpukit/sapi/src/itronapi.c +++ b/cpukit/sapi/src/itronapi.c @@ -51,7 +51,7 @@ * XXX */ -itron_api_configuration_table _ITRON_Default_configuration = { +const itron_api_configuration_table _ITRON_Default_configuration = { 0, /* maximum_tasks */ 0, /* maximum_semaphores */ 0, /* maximum_eventflags */ @@ -70,7 +70,7 @@ void _ITRON_API_Initialize( rtems_configuration_table *configuration_table ) { - itron_api_configuration_table *api_configuration; + const itron_api_configuration_table *api_configuration; /* XXX need to assert here based on size assumptions */ |