diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-12 17:55:13 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-06-12 17:55:13 +0000 |
commit | 1a0ccc7a9d983f63bd181fa9054c41fe9da17ee9 (patch) | |
tree | aeed49a17bcb652357c2a4bf7cc2069c2e555e08 /cpukit | |
parent | 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1a0ccc7a9d983f63bd181fa9054c41fe9da17ee9.tar.bz2 |
2010-06-12 Joel Sherrill <joel.sherrilL@OARcorp.com>
* libfs/src/pipe/fifo.c: Remove unused variable to fix warning.
* libnetworking/rtems/mkrootfs.c: Add include to fix warning.
* rtems/src/tasksetpriority.c: Fix spacing.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/libfs/src/pipe/fifo.c | 2 | ||||
-rw-r--r-- | cpukit/libnetworking/rtems/mkrootfs.c | 1 | ||||
-rw-r--r-- | cpukit/rtems/src/tasksetpriority.c | 2 |
4 files changed, 8 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 7405b4ab59..fe4e847e41 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,9 @@ +2010-06-12 Joel Sherrill <joel.sherrilL@OARcorp.com> + + * libfs/src/pipe/fifo.c: Remove unused variable to fix warning. + * libnetworking/rtems/mkrootfs.c: Add include to fix warning. + * rtems/src/tasksetpriority.c: Fix spacing. + 2010-06-12 Ralf Corsépius <ralf.corsepius@rtems.org> * rtems/inline/rtems/rtems/status.inl: Fix broken doxygen comment. diff --git a/cpukit/libfs/src/pipe/fifo.c b/cpukit/libfs/src/pipe/fifo.c index 9bf362b7f0..c65000adb8 100644 --- a/cpukit/libfs/src/pipe/fifo.c +++ b/cpukit/libfs/src/pipe/fifo.c @@ -247,8 +247,6 @@ int pipe_release( pipe_control_t *pipe = *pipep; uint32_t mode; - rtems_status_code sc; - if (pipe_lock()) /* WARN pipe not freed and pipep not set to NULL! */ /* FIXME */ diff --git a/cpukit/libnetworking/rtems/mkrootfs.c b/cpukit/libnetworking/rtems/mkrootfs.c index 0bf6a6ac56..d5a230df33 100644 --- a/cpukit/libnetworking/rtems/mkrootfs.c +++ b/cpukit/libnetworking/rtems/mkrootfs.c @@ -41,6 +41,7 @@ #include <arpa/inet.h> #include <rtems/mkrootfs.h> +#include <rtems/libio.h> /* * A table a list of names and their modes. diff --git a/cpukit/rtems/src/tasksetpriority.c b/cpukit/rtems/src/tasksetpriority.c index 7499d176e0..4e85e56533 100644 --- a/cpukit/rtems/src/tasksetpriority.c +++ b/cpukit/rtems/src/tasksetpriority.c @@ -58,7 +58,7 @@ rtems_status_code rtems_task_set_priority( ) { register Thread_Control *the_thread; - Objects_Locations location; + Objects_Locations location; if ( new_priority != RTEMS_CURRENT_PRIORITY && !_RTEMS_tasks_Priority_is_valid( new_priority ) ) |