diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-05 21:54:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-12-05 21:54:06 +0000 |
commit | 3b3d00565701d4aa56a690d1157dc0f7b9e1c50d (patch) | |
tree | ec15a9d2301afb02202b04d338db2d36a4ec6293 | |
parent | 2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-3b3d00565701d4aa56a690d1157dc0f7b9e1c50d.tar.bz2 |
2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/pipe/fifo.c: Do not include .inl files directly. Use .h
files with kernel visibility violated until functionality exposed.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/pipe/fifo.c | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index c509743e77..f1ddfed5f0 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2008-12-05 Joel Sherrill <joel.sherrill@oarcorp.com> + + * libfs/src/pipe/fifo.c: Do not include .inl files directly. Use .h + files with kernel visibility violated until functionality exposed. + 2008-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> * configure.ac: Check for functions in newlib. diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 812c824db3..846874b080 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -10,6 +10,15 @@ * $Id$ */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#ifdef RTEMS_POSIX_API +#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ +#endif + #include <errno.h> #include <stdlib.h> #include "pipe.h" @@ -52,9 +61,10 @@ extern bool rtems_pipe_configured; #ifdef RTEMS_POSIX_API +#define __RTEMS_VIOLATE_KERNEL_VISIBILITY__ -#include <rtems/rtems/barrier.inl> -#include <rtems/score/thread.inl> +#include <rtems/rtems/barrier.h> +#include <rtems/score/thread.h> /* Set barriers to be interruptible by signals. */ static void pipe_interruptible(pipe_control_t *pipe) |