forked from Imagelibrary/rtems
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h: Eliminate "uint".
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libfs/src/pipe/fifo.c, libfs/src/pipe/pipe.h:
|
||||
Eliminate "uint".
|
||||
|
||||
2010-06-13 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* include/rtems/tar.h, libcsupport/include/tar.h: Remove.
|
||||
|
||||
@@ -310,7 +310,7 @@ int fifo_open(
|
||||
)
|
||||
{
|
||||
pipe_control_t *pipe;
|
||||
uint prevCounter;
|
||||
unsigned int prevCounter;
|
||||
int err;
|
||||
|
||||
err = pipe_new(pipep);
|
||||
@@ -559,7 +559,7 @@ int pipe_ioctl(
|
||||
return -EINTR;
|
||||
|
||||
/* Return length of pipe */
|
||||
*(uint *)buffer = pipe->Length;
|
||||
*(unsigned int *)buffer = pipe->Length;
|
||||
PIPE_UNLOCK(pipe);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user