Changeset efd2965a in rtems for cpukit/sapi


Ignore:
Timestamp:
Feb 2, 2015, 2:25:26 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
4c14ace6
Parents:
ec0f2df
git-author:
Sebastian Huber <sebastian.huber@…> (02/02/15 14:25:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/04/15 13:03:49)
Message:

Filesystem: Statically initialize rtems_libio_iops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/include/confdefs.h

    rec0f2df refd2965a  
    9393
    9494#ifndef RTEMS_SCHEDSIM
    95 #include <rtems/libio.h>
     95#include <rtems/libio_.h>
    9696
    9797#ifdef CONFIGURE_INIT
     
    154154
    155155#ifdef CONFIGURE_INIT
     156  rtems_libio_t rtems_libio_iops[CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS];
     157
    156158  /**
    157159   * When instantiating the configuration tables, this variable is
    158160   * initialized to specify the maximum number of file descriptors.
    159161   */
    160   const uint32_t rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS;
     162  const uint32_t rtems_libio_number_iops = RTEMS_ARRAY_SIZE(rtems_libio_iops);
    161163#endif
    162164
Note: See TracChangeset for help on using the changeset viewer.