summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadself.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-25 14:11:53 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-26 09:16:25 +0200
commit48fed9a56e6df6e766ca18d821278112fc1bfa10 (patch)
tree4a9a0938539b804ac968f75b05bb47c94ff00ca8 /cpukit/posix/src/pthreadself.c
parentscore: Fix extern "C" in <rtems/score/heap.h> (diff)
downloadrtems-48fed9a56e6df6e766ca18d821278112fc1bfa10.tar.bz2
score: Simplify <rtems/system.h>
Drop the <rtems/score/percpu.h> include since this file exposes a lot of implementation details.
Diffstat (limited to 'cpukit/posix/src/pthreadself.c')
-rw-r--r--cpukit/posix/src/pthreadself.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadself.c b/cpukit/posix/src/pthreadself.c
index 361e94ba94..95ce15a9b0 100644
--- a/cpukit/posix/src/pthreadself.c
+++ b/cpukit/posix/src/pthreadself.c
@@ -21,9 +21,8 @@
#endif
#include <pthread.h>
-#include <errno.h>
-#include <rtems/system.h>
+#include <rtems/score/percpu.h>
#include <rtems/score/thread.h>
pthread_t pthread_self( void )