Changeset 79e028d3 in rtems for cpukit


Ignore:
Timestamp:
Sep 15, 2009, 9:53:01 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
23c0451
Parents:
fcb9044f
Message:

Reflect rtems_libio_number_iops being uint32_t.

Location:
cpukit/libcsupport/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/libio.c

    rfcb9044f r79e028d3  
    221221  rtems_libio_t     *iop;
    222222  int                result = 0;
    223   int                i;
     223  uint32_t           i;
    224224
    225225  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
     
    265265  rtems_libio_t     *iop;
    266266  int                result=0;
    267   int                i;
     267  uint32_t           i;
    268268
    269269  rtems_semaphore_obtain( rtems_libio_semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
  • cpukit/libcsupport/src/libio_init.c

    rfcb9044f r79e028d3  
    5151{
    5252    rtems_status_code rc;
    53     int i;
     53    uint32_t i;
    5454    rtems_libio_t *iop;
    5555
     
    6262
    6363        iop = rtems_libio_iop_freelist = rtems_libio_iops;
    64         for (i = 0 ; i < (rtems_libio_number_iops - 1) ; i++, iop++)
     64        for (i = 0 ; (i + 1) < rtems_libio_number_iops ; i++, iop++)
    6565                iop->data1 = iop + 1;
    6666        iop->data1 = NULL;
Note: See TracChangeset for help on using the changeset viewer.