diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-14 05:49:56 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2010-06-14 05:49:56 +0000 |
commit | d9f0918c4f70152c57682f0a05c7531cb4d066d8 (patch) | |
tree | 7d1b52c7651a5c2286a7036eceef0e3977423bd0 /cpukit/libfs/src/pipe | |
parent | Regenerate. (diff) | |
download | rtems-d9f0918c4f70152c57682f0a05c7531cb4d066d8.tar.bz2 |
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h:
Eliminate "uint".
Diffstat (limited to 'cpukit/libfs/src/pipe')
-rw-r--r-- | cpukit/libfs/src/pipe/fifo.c | 4 | ||||
-rw-r--r-- | cpukit/libfs/src/pipe/pipe.h | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 8f3fe82ddc..660e020709 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -269,7 +269,7 @@ int fifo_open( ) { pipe_control_t *pipe; - uint prevCounter; + unsigned int prevCounter; int err; err = pipe_new(pipep); @@ -518,7 +518,7 @@ int pipe_ioctl( return -EINTR; /* Return length of pipe */ - *(uint *)buffer = pipe->Length; + *(unsigned int *)buffer = pipe->Length; PIPE_UNLOCK(pipe); return 0; } diff --git a/cpukit/libfs/src/pipe/pipe.h b/cpukit/libfs/src/pipe/pipe.h index 283e036778..913f881e2d 100644 --- a/cpukit/libfs/src/pipe/pipe.h +++ b/cpukit/libfs/src/pipe/pipe.h @@ -22,15 +22,15 @@ extern "C" { /* Control block to manage each pipe */ typedef struct pipe_control { char *Buffer; - uint Size; - uint Start; - uint Length; - uint Readers; - uint Writers; - uint waitingReaders; - uint waitingWriters; - uint readerCounter; /* incremental counters */ - uint writerCounter; /* for differentiation of successive opens */ + unsigned int Size; + unsigned int Start; + unsigned int Length; + unsigned int Readers; + unsigned int Writers; + unsigned int waitingReaders; + unsigned int waitingWriters; + unsigned int readerCounter; /* incremental counters */ + unsigned int writerCounter; /* for differentiation of successive opens */ rtems_id Semaphore; rtems_id readBarrier; /* wait queues */ rtems_id writeBarrier; |