summaryrefslogtreecommitdiffstats
path: root/cpukit/sapi/include/confdefs.h
diff options
context:
space:
mode:
authorThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-05-27 10:34:15 +0000
committerThomas Doerfler <Thomas.Doerfler@embedded-brains.de>2008-05-27 10:34:15 +0000
commitbf95ccb5068543b453c1dfbf5e8ae7b6c814e1e4 (patch)
treee1ce92224d77dd59b5d6227c2c800c19d90ae605 /cpukit/sapi/include/confdefs.h
parentBugfix: Moved definition of ppp_softc into source file. (diff)
downloadrtems-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/include/confdefs.h')
-rw-r--r--cpukit/sapi/include/confdefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h
index 8d8f3b889b..de4bc5dc4f 100644
--- a/cpukit/sapi/include/confdefs.h
+++ b/cpukit/sapi/include/confdefs.h
@@ -133,7 +133,7 @@ extern int rtems_telnetd_maximum_ptys;
#ifdef CONFIGURE_INIT
#ifndef CONFIGURE_HAS_OWN_MOUNT_TABLE
- rtems_filesystem_mount_table_t configuration_mount_table = {
+ const rtems_filesystem_mount_table_t configuration_mount_table = {
#ifdef CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM
&IMFS_ops,
#else /* using miniIMFS as base filesystem */
@@ -144,9 +144,9 @@ extern int rtems_telnetd_maximum_ptys;
NULL
};
- rtems_filesystem_mount_table_t
+ const rtems_filesystem_mount_table_t
*rtems_filesystem_mount_table = &configuration_mount_table;
- int rtems_filesystem_mount_table_size = 1;
+ const int rtems_filesystem_mount_table_size = 1;
#endif
#endif