diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-02 15:25:23 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-02-04 14:03:49 +0100 |
commit | ead010cd3caeac0b3300d0031c1f31a36f798792 (patch) | |
tree | d24a3a6d9e2555369921c849cdd62d2c11ccbf5d | |
parent | bsps/powerpc: Fix a clock driver (diff) | |
download | rtems-ead010cd3caeac0b3300d0031c1f31a36f798792.tar.bz2 |
Filesystem: Make rtems_libio_number_iops const
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio_.h | 2 | ||||
-rw-r--r-- | 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 /** |