From bf95ccb5068543b453c1dfbf5e8ae7b6c814e1e4 Mon Sep 17 00:00:00 2001 From: Thomas Doerfler Date: Tue, 27 May 2008 10:34:15 +0000 Subject: 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. --- cpukit/sapi/src/posixapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/sapi/src/posixapi.c') 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 */ -- cgit v1.2.3