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/posixapi.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/posixapi.c')
-rw-r--r-- | cpukit/sapi/src/posixapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/sapi/src/posixapi.c b/cpukit/sapi/src/posixapi.c index b224c6ad52..9ff55ab63e 100644 --- a/cpukit/sapi/src/posixapi.c +++ b/cpukit/sapi/src/posixapi.c @@ -55,7 +55,7 @@ * XXX */ -posix_api_configuration_table _POSIX_Default_configuration = { +const posix_api_configuration_table _POSIX_Default_configuration = { 0, /* maximum_threads */ 0, /* maximum_mutexes */ 0, /* maximum_condition_variables */ @@ -78,7 +78,7 @@ void _POSIX_API_Initialize( rtems_configuration_table *configuration_table ) { - posix_api_configuration_table *api_configuration; + const posix_api_configuration_table *api_configuration; /* XXX need to assert here based on size assumptions */ |