Changeset d9f0918 in rtems


Ignore:
Timestamp:
Jun 14, 2010, 5:49:56 AM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10
Children:
cbaf3bc8
Parents:
354b8d5a
Message:

2010-06-14 Ralf Corsépius <ralf.corsepius@…>

  • libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Eliminate "uint".
Location:
cpukit
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r354b8d5a rd9f0918  
     12010-06-14      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h:
     4        Eliminate "uint".
     5
    162010-06-13      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libfs/src/pipe/fifo.c

    r354b8d5a rd9f0918  
    270270{
    271271  pipe_control_t *pipe;
    272   uint prevCounter;
     272  unsigned int prevCounter;
    273273  int err;
    274274
     
    519519
    520520    /* Return length of pipe */
    521     *(uint *)buffer = pipe->Length;
     521    *(unsigned int *)buffer = pipe->Length;
    522522    PIPE_UNLOCK(pipe);
    523523    return 0;
  • cpukit/libfs/src/pipe/pipe.h

    r354b8d5a rd9f0918  
    2323typedef struct pipe_control {
    2424  char *Buffer;
    25   uint Size;
    26   uint Start;
    27   uint Length;
    28   uint Readers;
    29   uint Writers;
    30   uint waitingReaders;
    31   uint waitingWriters;
    32   uint readerCounter;     /* incremental counters */
    33   uint writerCounter;     /* for differentiation of successive opens */
     25  unsigned int Size;
     26  unsigned int Start;
     27  unsigned int Length;
     28  unsigned int Readers;
     29  unsigned int Writers;
     30  unsigned int waitingReaders;
     31  unsigned int waitingWriters;
     32  unsigned int readerCounter;     /* incremental counters */
     33  unsigned int writerCounter;     /* for differentiation of successive opens */
    3434  rtems_id Semaphore;
    3535  rtems_id readBarrier;   /* wait queues */
Note: See TracChangeset for help on using the changeset viewer.