summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/src')
-rw-r--r--cpukit/libcsupport/src/base_fs.c4
-rw-r--r--cpukit/libcsupport/src/error.c2
-rw-r--r--cpukit/libcsupport/src/libio.c4
-rw-r--r--cpukit/libcsupport/src/mount.c10
4 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/libcsupport/src/base_fs.c b/cpukit/libcsupport/src/base_fs.c
index e5ddb24494..4ce53b0e4b 100644
--- a/cpukit/libcsupport/src/base_fs.c
+++ b/cpukit/libcsupport/src/base_fs.c
@@ -45,8 +45,8 @@ void rtems_filesystem_initialize( void )
#if !defined(RTEMS_UNIX)
int status;
rtems_filesystem_mount_table_entry_t *entry;
- rtems_filesystem_mount_table_t *mt;
- rtems_filesystem_location_info_t loc;
+ const rtems_filesystem_mount_table_t *mt;
+ rtems_filesystem_location_info_t loc;
/*
* Set the default umask to "022".
diff --git a/cpukit/libcsupport/src/error.c b/cpukit/libcsupport/src/error.c
index c94be59ad5..15f8e8d23e 100644
--- a/cpukit/libcsupport/src/error.c
+++ b/cpukit/libcsupport/src/error.c
@@ -63,7 +63,7 @@ char *strerror(int);
int rtems_panic_in_progress;
-rtems_assoc_t rtems_status_assoc[] = {
+const rtems_assoc_t rtems_status_assoc[] = {
{ "successful completion", RTEMS_SUCCESSFUL, },
{ "returned from a thread", RTEMS_TASK_EXITTED, },
{ "multiprocessing not configured", RTEMS_MP_NOT_CONFIGURED, },
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
diff --git a/cpukit/libcsupport/src/mount.c b/cpukit/libcsupport/src/mount.c
index 7b99dfae7d..997cf859b1 100644
--- a/cpukit/libcsupport/src/mount.c
+++ b/cpukit/libcsupport/src/mount.c
@@ -68,11 +68,11 @@ static int Is_node_fs_root(
*/
int mount(
- rtems_filesystem_mount_table_entry_t **mt_entry,
- rtems_filesystem_operations_table *fs_ops,
- rtems_filesystem_options_t options,
- char *device,
- char *mount_point
+ rtems_filesystem_mount_table_entry_t **mt_entry,
+ const rtems_filesystem_operations_table *fs_ops,
+ rtems_filesystem_options_t options,
+ const char *device,
+ const char *mount_point
)
{
rtems_filesystem_location_info_t loc;