summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadattrsetstack.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 17:17:05 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-23 17:19:08 +0200
commit218286bc055e9d9bcbefd3dfa2b38f92a95b15a6 (patch)
treedfd79ee383ba1192fa1a71d40bd52d5742601b76 /cpukit/posix/src/pthreadattrsetstack.c
parentposix: Include missing <stdint.h> (diff)
downloadrtems-218286bc055e9d9bcbefd3dfa2b38f92a95b15a6.tar.bz2
score: Create stack implementation header
Move implementation specific parts of stack.h and stack.inl into new header file stackimpl.h. The stack.h contains now only the application visible API.
Diffstat (limited to 'cpukit/posix/src/pthreadattrsetstack.c')
-rw-r--r--cpukit/posix/src/pthreadattrsetstack.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/posix/src/pthreadattrsetstack.c b/cpukit/posix/src/pthreadattrsetstack.c
index 7c4f14b6a4..699d2fec93 100644
--- a/cpukit/posix/src/pthreadattrsetstack.c
+++ b/cpukit/posix/src/pthreadattrsetstack.c
@@ -21,11 +21,12 @@
#endif
#if HAVE_DECL_PTHREAD_ATTR_SETSTACK
-#include <pthread.h>
-#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
+#include <rtems/score/stackimpl.h>
+
+#include <pthread.h>
+#include <errno.h>
int pthread_attr_setstack(
pthread_attr_t *attr,