summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/libio.c
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/libcsupport/src/libio.c
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 '')
-rw-r--r--cpukit/libcsupport/src/libio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/libio.c b/cpukit/libcsupport/src/libio.c
index 879cd8134c..16bd7f1ec8 100644
--- a/cpukit/libcsupport/src/libio.c
+++ b/cpukit/libcsupport/src/libio.c
@@ -62,14 +62,14 @@ extern rtems_libio_t *rtems_libio_iop_freelist;
* Convert UNIX fnctl(2) flags to ones that RTEMS drivers understand
*/
-rtems_assoc_t access_modes_assoc[] = {
+const rtems_assoc_t access_modes_assoc[] = {
{ "READ", LIBIO_FLAGS_READ, O_RDONLY },
{ "WRITE", LIBIO_FLAGS_WRITE, O_WRONLY },
{ "READ/WRITE", LIBIO_FLAGS_READ_WRITE, O_RDWR },
{ 0, 0, 0 },
};
-rtems_assoc_t status_flags_assoc[] = {
+const rtems_assoc_t status_flags_assoc[] = {
#ifdef ACCEPT_O_NDELAY_ALIAS
{ "NO DELAY", LIBIO_FLAGS_NO_DELAY, O_NDELAY },
#endif