From ead010cd3caeac0b3300d0031c1f31a36f798792 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 2 Feb 2015 15:25:23 +0100 Subject: Filesystem: Make rtems_libio_number_iops const --- cpukit/libcsupport/include/rtems/libio_.h | 2 +- cpukit/sapi/include/confdefs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpukit/libcsupport/include/rtems/libio_.h b/cpukit/libcsupport/include/rtems/libio_.h index e204508cf1..8703e09d7f 100644 --- a/cpukit/libcsupport/include/rtems/libio_.h +++ b/cpukit/libcsupport/include/rtems/libio_.h @@ -64,7 +64,7 @@ extern rtems_id rtems_libio_semaphore; * File descriptor Table Information */ -extern uint32_t rtems_libio_number_iops; +extern const uint32_t rtems_libio_number_iops; extern rtems_libio_t *rtems_libio_iops; extern rtems_libio_t *rtems_libio_last_iop; extern rtems_libio_t *rtems_libio_iop_freelist; diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index 595dac5807..569f136210 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -157,7 +157,7 @@ const rtems_libio_helper rtems_fs_init_helper = * When instantiating the configuration tables, this variable is * initialized to specify the maximum number of file descriptors. */ - uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS; + const uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS; #endif /** -- cgit v1.2.3