summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/include/rtems/libio_.h2
-rw-r--r--cpukit/libcsupport/src/fs_null_handlers.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h
index dfde83145d..7aada77622 100644
--- a/cpukit/libcsupport/include/rtems/libio_.h
+++ b/cpukit/libcsupport/include/rtems/libio_.h
@@ -37,7 +37,7 @@ extern "C" {
#define RTEMS_LIBIO_IOP_SEM(n) rtems_build_name('L', 'B', 'I', n)
extern rtems_id rtems_libio_semaphore;
-extern rtems_filesystem_file_handlers_r rtems_filesystem_null_handlers;
+extern const rtems_filesystem_file_handlers_r rtems_filesystem_null_handlers;
/*
* File descriptor Table Information
diff --git a/cpukit/libcsupport/src/fs_null_handlers.c b/cpukit/libcsupport/src/fs_null_handlers.c
index fb323d7452..72c5b2c2b1 100644
--- a/cpukit/libcsupport/src/fs_null_handlers.c
+++ b/cpukit/libcsupport/src/fs_null_handlers.c
@@ -23,7 +23,7 @@
* Set of null operations handlers.
*/
-rtems_filesystem_file_handlers_r rtems_filesystem_null_handlers = {
+const rtems_filesystem_file_handlers_r rtems_filesystem_null_handlers = {
NULL, /* open */
NULL, /* close */
NULL, /* read */