forked from Imagelibrary/rtems
Filesystem: Make rtems_libio_number_iops const
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user