summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-01 10:00:36 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-03-14 13:13:27 +0100
commit3fe215502a11b318ad05c45f103272a6e8c8eb97 (patch)
treee25b07e6f302dc12cd704c8d2dddcc87c2534600 /cpukit/posix
parentsparc64: Do not include <rtems/asm.h> in C source (diff)
downloadrtems-3fe215502a11b318ad05c45f103272a6e8c8eb97.tar.bz2
Remove superfluous <rtems/system.h> includes
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/src/aio_cancel.c1
-rw-r--r--cpukit/posix/src/aio_error.c1
-rw-r--r--cpukit/posix/src/aio_fsync.c1
-rw-r--r--cpukit/posix/src/aio_read.c1
-rw-r--r--cpukit/posix/src/aio_return.c1
-rw-r--r--cpukit/posix/src/aio_suspend.c2
-rw-r--r--cpukit/posix/src/aio_write.c1
-rw-r--r--cpukit/posix/src/barrierattrinit.c2
-rw-r--r--cpukit/posix/src/clockgetcpuclockid.c1
-rw-r--r--cpukit/posix/src/condattrgetpshared.c1
-rw-r--r--cpukit/posix/src/conddefaultattributes.c1
-rw-r--r--cpukit/posix/src/kill.c1
-rw-r--r--cpukit/posix/src/kill_r.c1
-rw-r--r--cpukit/posix/src/lio_listio.c2
-rw-r--r--cpukit/posix/src/mqueuesend.c1
-rw-r--r--cpukit/posix/src/mutexattrsetprotocol.c1
-rw-r--r--cpukit/posix/src/mutexattrsetpshared.c1
-rw-r--r--cpukit/posix/src/mutexattrsettype.c1
-rw-r--r--cpukit/posix/src/psignalclearsignals.c1
-rw-r--r--cpukit/posix/src/psignalsetprocesssignals.c1
-rw-r--r--cpukit/posix/src/psignalunblockthread.c1
-rw-r--r--cpukit/posix/src/psxtimerdelete.c1
-rw-r--r--cpukit/posix/src/pthreadgetcpuclockid.c1
-rw-r--r--cpukit/posix/src/pthreadinitthreads.c1
-rw-r--r--cpukit/posix/src/pthreadsigmask.c1
-rw-r--r--cpukit/posix/src/rwlockattrinit.c1
-rw-r--r--cpukit/posix/src/sched_getparam.c2
-rw-r--r--cpukit/posix/src/sched_getprioritymin.c1
-rw-r--r--cpukit/posix/src/sched_getscheduler.c1
-rw-r--r--cpukit/posix/src/sched_setparam.c1
-rw-r--r--cpukit/posix/src/sched_setscheduler.c1
-rw-r--r--cpukit/posix/src/sigaddset.c1
-rw-r--r--cpukit/posix/src/sigdelset.c1
-rw-r--r--cpukit/posix/src/sigemptyset.c1
-rw-r--r--cpukit/posix/src/sigfillset.c1
-rw-r--r--cpukit/posix/src/sigismember.c1
-rw-r--r--cpukit/posix/src/sigpending.c1
-rw-r--r--cpukit/posix/src/sigqueue.c1
-rw-r--r--cpukit/posix/src/timergetoverrun.c1
39 files changed, 3 insertions, 40 deletions
diff --git a/cpukit/posix/src/aio_cancel.c b/cpukit/posix/src/aio_cancel.c
index cf84055c8e..2b6a2125d6 100644
--- a/cpukit/posix/src/aio_cancel.c
+++ b/cpukit/posix/src/aio_cancel.c
@@ -21,7 +21,6 @@
#include <rtems/posix/aio_misc.h>
#include <errno.h>
#include <stdlib.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
int aio_cancel(int fildes, struct aiocb *aiocbp)
diff --git a/cpukit/posix/src/aio_error.c b/cpukit/posix/src/aio_error.c
index 111c811050..4c30a8ba9c 100644
--- a/cpukit/posix/src/aio_error.c
+++ b/cpukit/posix/src/aio_error.c
@@ -20,7 +20,6 @@
#include <aio.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
/*
diff --git a/cpukit/posix/src/aio_fsync.c b/cpukit/posix/src/aio_fsync.c
index df5432cd1c..62f516ba77 100644
--- a/cpukit/posix/src/aio_fsync.c
+++ b/cpukit/posix/src/aio_fsync.c
@@ -21,7 +21,6 @@
#include <errno.h>
#include <stdlib.h>
#include <rtems/posix/aio_misc.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
/*
diff --git a/cpukit/posix/src/aio_read.c b/cpukit/posix/src/aio_read.c
index a18345823a..a52cbdea01 100644
--- a/cpukit/posix/src/aio_read.c
+++ b/cpukit/posix/src/aio_read.c
@@ -22,7 +22,6 @@
#include <errno.h>
#include <fcntl.h>
#include <rtems/posix/aio_misc.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/cpukit/posix/src/aio_return.c b/cpukit/posix/src/aio_return.c
index 301d424897..9e733284b5 100644
--- a/cpukit/posix/src/aio_return.c
+++ b/cpukit/posix/src/aio_return.c
@@ -20,7 +20,6 @@
#include <aio.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
/*
diff --git a/cpukit/posix/src/aio_suspend.c b/cpukit/posix/src/aio_suspend.c
index 2a3362a309..9739bac442 100644
--- a/cpukit/posix/src/aio_suspend.c
+++ b/cpukit/posix/src/aio_suspend.c
@@ -23,7 +23,7 @@
#include <aio.h>
#include <errno.h>
-#include <rtems/system.h>
+#include <rtems/score/basedefs.h>
#include <rtems/seterr.h>
int aio_suspend(
diff --git a/cpukit/posix/src/aio_write.c b/cpukit/posix/src/aio_write.c
index 6e8c8b7a5e..8e873a9ec2 100644
--- a/cpukit/posix/src/aio_write.c
+++ b/cpukit/posix/src/aio_write.c
@@ -22,7 +22,6 @@
#include <errno.h>
#include <fcntl.h>
#include <rtems/posix/aio_misc.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
#include <stdlib.h>
#include <limits.h>
diff --git a/cpukit/posix/src/barrierattrinit.c b/cpukit/posix/src/barrierattrinit.c
index 8a22c1bc28..5ee33436a2 100644
--- a/cpukit/posix/src/barrierattrinit.c
+++ b/cpukit/posix/src/barrierattrinit.c
@@ -21,8 +21,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
-
int pthread_barrierattr_init(
pthread_barrierattr_t *attr
)
diff --git a/cpukit/posix/src/clockgetcpuclockid.c b/cpukit/posix/src/clockgetcpuclockid.c
index 51f8588e74..54f10baef6 100644
--- a/cpukit/posix/src/clockgetcpuclockid.c
+++ b/cpukit/posix/src/clockgetcpuclockid.c
@@ -21,7 +21,6 @@
#include <time.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/posix/src/condattrgetpshared.c b/cpukit/posix/src/condattrgetpshared.c
index 92918cbcc1..d80af6eb97 100644
--- a/cpukit/posix/src/condattrgetpshared.c
+++ b/cpukit/posix/src/condattrgetpshared.c
@@ -21,7 +21,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
int pthread_condattr_getpshared(
const pthread_condattr_t *attr,
diff --git a/cpukit/posix/src/conddefaultattributes.c b/cpukit/posix/src/conddefaultattributes.c
index 7523f1a166..1aff37bd03 100644
--- a/cpukit/posix/src/conddefaultattributes.c
+++ b/cpukit/posix/src/conddefaultattributes.c
@@ -20,7 +20,6 @@
#include <pthread.h>
-#include <rtems/system.h>
/*
* The default condition variable attributes structure.
diff --git a/cpukit/posix/src/kill.c b/cpukit/posix/src/kill.c
index ee2c1b02d1..cc54c2203e 100644
--- a/cpukit/posix/src/kill.c
+++ b/cpukit/posix/src/kill.c
@@ -21,7 +21,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
#include <rtems/posix/psignalimpl.h>
diff --git a/cpukit/posix/src/kill_r.c b/cpukit/posix/src/kill_r.c
index 97dcd43916..532e31ca9e 100644
--- a/cpukit/posix/src/kill_r.c
+++ b/cpukit/posix/src/kill_r.c
@@ -23,7 +23,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
#include <rtems/posix/psignalimpl.h>
diff --git a/cpukit/posix/src/lio_listio.c b/cpukit/posix/src/lio_listio.c
index fb3c3a26d1..bcbfb7dfe0 100644
--- a/cpukit/posix/src/lio_listio.c
+++ b/cpukit/posix/src/lio_listio.c
@@ -23,7 +23,7 @@
#include <aio.h>
#include <errno.h>
-#include <rtems/system.h>
+#include <rtems/score/basedefs.h>
#include <rtems/seterr.h>
int lio_listio(
diff --git a/cpukit/posix/src/mqueuesend.c b/cpukit/posix/src/mqueuesend.c
index 4843ae073d..dfb4bcffea 100644
--- a/cpukit/posix/src/mqueuesend.c
+++ b/cpukit/posix/src/mqueuesend.c
@@ -38,7 +38,6 @@
#include <fcntl.h>
#include <mqueue.h>
-#include <rtems/system.h>
#include <rtems/score/watchdog.h>
#include <rtems/seterr.h>
#include <rtems/posix/mqueueimpl.h>
diff --git a/cpukit/posix/src/mutexattrsetprotocol.c b/cpukit/posix/src/mutexattrsetprotocol.c
index eecc04b7ce..0b272390dc 100644
--- a/cpukit/posix/src/mutexattrsetprotocol.c
+++ b/cpukit/posix/src/mutexattrsetprotocol.c
@@ -21,7 +21,6 @@
#include <errno.h>
#include <pthread.h>
-#include <rtems/system.h>
#include <rtems/score/coremuteximpl.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/muteximpl.h>
diff --git a/cpukit/posix/src/mutexattrsetpshared.c b/cpukit/posix/src/mutexattrsetpshared.c
index bd94679b1a..412cbe48e0 100644
--- a/cpukit/posix/src/mutexattrsetpshared.c
+++ b/cpukit/posix/src/mutexattrsetpshared.c
@@ -21,7 +21,6 @@
#include <errno.h>
#include <pthread.h>
-#include <rtems/system.h>
#include <rtems/score/coremuteximpl.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/muteximpl.h>
diff --git a/cpukit/posix/src/mutexattrsettype.c b/cpukit/posix/src/mutexattrsettype.c
index b188e463ef..a31a848ad5 100644
--- a/cpukit/posix/src/mutexattrsettype.c
+++ b/cpukit/posix/src/mutexattrsettype.c
@@ -21,7 +21,6 @@
#include <errno.h>
#include <pthread.h>
-#include <rtems/system.h>
#include <rtems/score/coremuteximpl.h>
#include <rtems/score/watchdog.h>
#include <rtems/posix/muteximpl.h>
diff --git a/cpukit/posix/src/psignalclearsignals.c b/cpukit/posix/src/psignalclearsignals.c
index 39ea41c77c..7d678ca135 100644
--- a/cpukit/posix/src/psignalclearsignals.c
+++ b/cpukit/posix/src/psignalclearsignals.c
@@ -22,7 +22,6 @@
#include <pthread.h>
#include <signal.h>
-#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
#include <rtems/score/wkspace.h>
diff --git a/cpukit/posix/src/psignalsetprocesssignals.c b/cpukit/posix/src/psignalsetprocesssignals.c
index b755c2db89..1fbe778bad 100644
--- a/cpukit/posix/src/psignalsetprocesssignals.c
+++ b/cpukit/posix/src/psignalsetprocesssignals.c
@@ -22,7 +22,6 @@
#include <pthread.h>
#include <signal.h>
-#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/thread.h>
#include <rtems/score/wkspace.h>
diff --git a/cpukit/posix/src/psignalunblockthread.c b/cpukit/posix/src/psignalunblockthread.c
index d75e454655..46f1942e02 100644
--- a/cpukit/posix/src/psignalunblockthread.c
+++ b/cpukit/posix/src/psignalunblockthread.c
@@ -22,7 +22,6 @@
#include <pthread.h>
#include <signal.h>
-#include <rtems/system.h>
#include <rtems/score/isr.h>
#include <rtems/score/threadimpl.h>
#include <rtems/score/threadqimpl.h>
diff --git a/cpukit/posix/src/psxtimerdelete.c b/cpukit/posix/src/psxtimerdelete.c
index 7670838ac2..f84cba2ad1 100644
--- a/cpukit/posix/src/psxtimerdelete.c
+++ b/cpukit/posix/src/psxtimerdelete.c
@@ -24,7 +24,6 @@
#include <errno.h>
#include <pthread.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
#include <rtems/score/thread.h>
#include <rtems/score/watchdogimpl.h>
diff --git a/cpukit/posix/src/pthreadgetcpuclockid.c b/cpukit/posix/src/pthreadgetcpuclockid.c
index b7d9734e6f..cd7814b1a6 100644
--- a/cpukit/posix/src/pthreadgetcpuclockid.c
+++ b/cpukit/posix/src/pthreadgetcpuclockid.c
@@ -23,7 +23,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
int pthread_getcpuclockid(
diff --git a/cpukit/posix/src/pthreadinitthreads.c b/cpukit/posix/src/pthreadinitthreads.c
index 97ae5df70a..89163f43ab 100644
--- a/cpukit/posix/src/pthreadinitthreads.c
+++ b/cpukit/posix/src/pthreadinitthreads.c
@@ -22,7 +22,6 @@
#include <pthread.h>
#include <limits.h>
-#include <rtems/system.h>
#include <rtems/config.h>
#include <rtems/score/stack.h>
#include <rtems/score/thread.h>
diff --git a/cpukit/posix/src/pthreadsigmask.c b/cpukit/posix/src/pthreadsigmask.c
index 908ffd010f..1681761cf7 100644
--- a/cpukit/posix/src/pthreadsigmask.c
+++ b/cpukit/posix/src/pthreadsigmask.c
@@ -26,7 +26,6 @@
#include <signal.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
#include <rtems/posix/psignalimpl.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/rwlockattrinit.c b/cpukit/posix/src/rwlockattrinit.c
index 65f8b2fd71..d3e6e65ca3 100644
--- a/cpukit/posix/src/rwlockattrinit.c
+++ b/cpukit/posix/src/rwlockattrinit.c
@@ -21,7 +21,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
/*
* RWLock Attributes Initialization
diff --git a/cpukit/posix/src/sched_getparam.c b/cpukit/posix/src/sched_getparam.c
index 318f5b9c55..4817745ad2 100644
--- a/cpukit/posix/src/sched_getparam.c
+++ b/cpukit/posix/src/sched_getparam.c
@@ -21,7 +21,7 @@
#include <sched.h>
#include <errno.h>
-#include <rtems/system.h>
+#include <rtems/score/basedefs.h>
#include <rtems/seterr.h>
/**
diff --git a/cpukit/posix/src/sched_getprioritymin.c b/cpukit/posix/src/sched_getprioritymin.c
index 422779218f..7b89534056 100644
--- a/cpukit/posix/src/sched_getprioritymin.c
+++ b/cpukit/posix/src/sched_getprioritymin.c
@@ -21,7 +21,6 @@
#include <sched.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
#include <rtems/posix/priorityimpl.h>
diff --git a/cpukit/posix/src/sched_getscheduler.c b/cpukit/posix/src/sched_getscheduler.c
index 592a42c43c..396ceb5bc2 100644
--- a/cpukit/posix/src/sched_getscheduler.c
+++ b/cpukit/posix/src/sched_getscheduler.c
@@ -23,7 +23,6 @@
#include <sched.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/score/thread.h>
#include <rtems/seterr.h>
#include <rtems/posix/priorityimpl.h>
diff --git a/cpukit/posix/src/sched_setparam.c b/cpukit/posix/src/sched_setparam.c
index de5c26f467..14cd87099a 100644
--- a/cpukit/posix/src/sched_setparam.c
+++ b/cpukit/posix/src/sched_setparam.c
@@ -23,7 +23,6 @@
#include <sched.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/score/thread.h>
#include <rtems/seterr.h>
#include <rtems/posix/priorityimpl.h>
diff --git a/cpukit/posix/src/sched_setscheduler.c b/cpukit/posix/src/sched_setscheduler.c
index 9e3b01bc26..2e0134af8d 100644
--- a/cpukit/posix/src/sched_setscheduler.c
+++ b/cpukit/posix/src/sched_setscheduler.c
@@ -21,7 +21,6 @@
#include <sched.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/score/thread.h>
#include <rtems/seterr.h>
#include <rtems/posix/priorityimpl.h>
diff --git a/cpukit/posix/src/sigaddset.c b/cpukit/posix/src/sigaddset.c
index a8f2a7789b..4a934d37fe 100644
--- a/cpukit/posix/src/sigaddset.c
+++ b/cpukit/posix/src/sigaddset.c
@@ -22,7 +22,6 @@
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/sigset.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/sigdelset.c b/cpukit/posix/src/sigdelset.c
index 9b239bd956..e2989a4cde 100644
--- a/cpukit/posix/src/sigdelset.c
+++ b/cpukit/posix/src/sigdelset.c
@@ -22,7 +22,6 @@
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/sigset.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/sigemptyset.c b/cpukit/posix/src/sigemptyset.c
index 14f6e2a2de..23d7258cf7 100644
--- a/cpukit/posix/src/sigemptyset.c
+++ b/cpukit/posix/src/sigemptyset.c
@@ -20,7 +20,6 @@
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/sigset.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/sigfillset.c b/cpukit/posix/src/sigfillset.c
index 0652041805..45d6d5355e 100644
--- a/cpukit/posix/src/sigfillset.c
+++ b/cpukit/posix/src/sigfillset.c
@@ -20,7 +20,6 @@
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/sigset.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/sigismember.c b/cpukit/posix/src/sigismember.c
index 12a1dcc2b4..413b8b880a 100644
--- a/cpukit/posix/src/sigismember.c
+++ b/cpukit/posix/src/sigismember.c
@@ -20,7 +20,6 @@
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/sigset.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/sigpending.c b/cpukit/posix/src/sigpending.c
index 67a5c667ce..cf25cf8357 100644
--- a/cpukit/posix/src/sigpending.c
+++ b/cpukit/posix/src/sigpending.c
@@ -21,7 +21,6 @@
#include <signal.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
#include <rtems/posix/psignalimpl.h>
#include <rtems/seterr.h>
diff --git a/cpukit/posix/src/sigqueue.c b/cpukit/posix/src/sigqueue.c
index 56292bfd48..c97f50b481 100644
--- a/cpukit/posix/src/sigqueue.c
+++ b/cpukit/posix/src/sigqueue.c
@@ -21,7 +21,6 @@
#include <pthread.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/posix/pthreadimpl.h>
#include <rtems/posix/psignalimpl.h>
diff --git a/cpukit/posix/src/timergetoverrun.c b/cpukit/posix/src/timergetoverrun.c
index 0a7b9fafa6..263aad83b1 100644
--- a/cpukit/posix/src/timergetoverrun.c
+++ b/cpukit/posix/src/timergetoverrun.c
@@ -21,7 +21,6 @@
#include <time.h>
#include <errno.h>
-#include <rtems/system.h>
#include <rtems/seterr.h>
#include <rtems/score/thread.h>
#include <rtems/posix/timerimpl.h>