diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-03 11:35:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-12-05 18:07:05 +0100 |
commit | f9340ed7f43b81e172ebefebbb9fbd558080d1a3 (patch) | |
tree | a5ccd69f10430edd1a8bb4361594c509fdbfb08c /cpukit/posix/src/sigsuspend.c | |
parent | rtems: Add signal post switch extension on the fly (diff) | |
download | rtems-f9340ed7f43b81e172ebefebbb9fbd558080d1a3.tar.bz2 |
posix: Add and use <rtems/posix/psignalimpl.h>
This file contains the parts of <rtems/posix/psignal.h> that are only
necessary for the POSIX API implementation.
Diffstat (limited to 'cpukit/posix/src/sigsuspend.c')
-rw-r--r-- | cpukit/posix/src/sigsuspend.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/posix/src/sigsuspend.c b/cpukit/posix/src/sigsuspend.c index 6ef961e25c..f84d11f119 100644 --- a/cpukit/posix/src/sigsuspend.c +++ b/cpukit/posix/src/sigsuspend.c @@ -13,13 +13,11 @@ #include "config.h" #endif +#include <stddef.h> #include <assert.h> #include <signal.h> #include <errno.h> -#include <rtems/system.h> -#include <rtems/posix/pthread.h> -#include <rtems/posix/psignal.h> #include <rtems/seterr.h> int sigsuspend( @@ -29,9 +27,6 @@ int sigsuspend( sigset_t saved_signals_blocked; sigset_t current_unblocked_signals; int status; - POSIX_API_Control *api; - - api = _Thread_Executing->API_Extensions[ THREAD_API_POSIX ]; /* * We use SIG_BLOCK and not SIG_SETMASK because there may be |