summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 19:56:49 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-05-23 19:56:49 +0000
commit3d135eeaa9efe38b8509786053a0324c03ebf127 (patch)
treeac8dff039b00d3275b80b784dc202efe17f609c9
parentnew files (diff)
downloadrtems-3d135eeaa9efe38b8509786053a0324c03ebf127.tar.bz2
cleanup
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched01.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched02.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched03.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched04.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched05.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched06.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched07.c2
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched08.c10
-rw-r--r--testsuites/psxtests/psxhdrs/sched01.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched02.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched03.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched04.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched05.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched06.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched07.c2
-rw-r--r--testsuites/psxtests/psxhdrs/sched08.c10
16 files changed, 24 insertions, 24 deletions
diff --git a/c/src/tests/psxtests/psxhdrs/sched01.c b/c/src/tests/psxtests/psxhdrs/sched01.c
index 0164ebb531..56695ade58 100644
--- a/c/src/tests/psxtests/psxhdrs/sched01.c
+++ b/c/src/tests/psxtests/psxhdrs/sched01.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setparam"
diff --git a/c/src/tests/psxtests/psxhdrs/sched02.c b/c/src/tests/psxtests/psxhdrs/sched02.c
index 6dab5f33eb..43d94a1965 100644
--- a/c/src/tests/psxtests/psxhdrs/sched02.c
+++ b/c/src/tests/psxtests/psxhdrs/sched02.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getparam"
diff --git a/c/src/tests/psxtests/psxhdrs/sched03.c b/c/src/tests/psxtests/psxhdrs/sched03.c
index f8c23f8e04..d2fcdc9cf7 100644
--- a/c/src/tests/psxtests/psxhdrs/sched03.c
+++ b/c/src/tests/psxtests/psxhdrs/sched03.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setscheduler"
diff --git a/c/src/tests/psxtests/psxhdrs/sched04.c b/c/src/tests/psxtests/psxhdrs/sched04.c
index ad786f2bfe..a723470f2f 100644
--- a/c/src/tests/psxtests/psxhdrs/sched04.c
+++ b/c/src/tests/psxtests/psxhdrs/sched04.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getscheduler"
diff --git a/c/src/tests/psxtests/psxhdrs/sched05.c b/c/src/tests/psxtests/psxhdrs/sched05.c
index d7eb9b3f2d..3bf8fc1361 100644
--- a/c/src/tests/psxtests/psxhdrs/sched05.c
+++ b/c/src/tests/psxtests/psxhdrs/sched05.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_yield"
diff --git a/c/src/tests/psxtests/psxhdrs/sched06.c b/c/src/tests/psxtests/psxhdrs/sched06.c
index 6398f0a6fa..9a82d1d409 100644
--- a/c/src/tests/psxtests/psxhdrs/sched06.c
+++ b/c/src/tests/psxtests/psxhdrs/sched06.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_max"
diff --git a/c/src/tests/psxtests/psxhdrs/sched07.c b/c/src/tests/psxtests/psxhdrs/sched07.c
index 42d0f80103..58cb1aab9f 100644
--- a/c/src/tests/psxtests/psxhdrs/sched07.c
+++ b/c/src/tests/psxtests/psxhdrs/sched07.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_min"
diff --git a/c/src/tests/psxtests/psxhdrs/sched08.c b/c/src/tests/psxtests/psxhdrs/sched08.c
index 4e957d504e..993d6dd0f5 100644
--- a/c/src/tests/psxtests/psxhdrs/sched08.c
+++ b/c/src/tests/psxtests/psxhdrs/sched08.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_rr_get_interval"
@@ -21,11 +21,11 @@
void test( void )
{
- pid_t pid;
- sruct timespec interval;
- int result;
+ pid_t pid;
+ struct timespec interval;
+ int result;
pid = 0;
- result = sched_rr_get_interval( pid, interval );
+ result = sched_rr_get_interval( pid, &interval );
}
diff --git a/testsuites/psxtests/psxhdrs/sched01.c b/testsuites/psxtests/psxhdrs/sched01.c
index 0164ebb531..56695ade58 100644
--- a/testsuites/psxtests/psxhdrs/sched01.c
+++ b/testsuites/psxtests/psxhdrs/sched01.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setparam"
diff --git a/testsuites/psxtests/psxhdrs/sched02.c b/testsuites/psxtests/psxhdrs/sched02.c
index 6dab5f33eb..43d94a1965 100644
--- a/testsuites/psxtests/psxhdrs/sched02.c
+++ b/testsuites/psxtests/psxhdrs/sched02.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getparam"
diff --git a/testsuites/psxtests/psxhdrs/sched03.c b/testsuites/psxtests/psxhdrs/sched03.c
index f8c23f8e04..d2fcdc9cf7 100644
--- a/testsuites/psxtests/psxhdrs/sched03.c
+++ b/testsuites/psxtests/psxhdrs/sched03.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_setscheduler"
diff --git a/testsuites/psxtests/psxhdrs/sched04.c b/testsuites/psxtests/psxhdrs/sched04.c
index ad786f2bfe..a723470f2f 100644
--- a/testsuites/psxtests/psxhdrs/sched04.c
+++ b/testsuites/psxtests/psxhdrs/sched04.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_getscheduler"
diff --git a/testsuites/psxtests/psxhdrs/sched05.c b/testsuites/psxtests/psxhdrs/sched05.c
index d7eb9b3f2d..3bf8fc1361 100644
--- a/testsuites/psxtests/psxhdrs/sched05.c
+++ b/testsuites/psxtests/psxhdrs/sched05.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_yield"
diff --git a/testsuites/psxtests/psxhdrs/sched06.c b/testsuites/psxtests/psxhdrs/sched06.c
index 6398f0a6fa..9a82d1d409 100644
--- a/testsuites/psxtests/psxhdrs/sched06.c
+++ b/testsuites/psxtests/psxhdrs/sched06.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_max"
diff --git a/testsuites/psxtests/psxhdrs/sched07.c b/testsuites/psxtests/psxhdrs/sched07.c
index 42d0f80103..58cb1aab9f 100644
--- a/testsuites/psxtests/psxhdrs/sched07.c
+++ b/testsuites/psxtests/psxhdrs/sched07.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_get_priority_min"
diff --git a/testsuites/psxtests/psxhdrs/sched08.c b/testsuites/psxtests/psxhdrs/sched08.c
index 4e957d504e..993d6dd0f5 100644
--- a/testsuites/psxtests/psxhdrs/sched08.c
+++ b/testsuites/psxtests/psxhdrs/sched08.c
@@ -13,7 +13,7 @@
* $Id$
*/
-#include <pthread.h>
+#include <sched.h>
#ifndef _POSIX_PRIORITY_SCHEDULING
#error "rtems is supposed to have sched_rr_get_interval"
@@ -21,11 +21,11 @@
void test( void )
{
- pid_t pid;
- sruct timespec interval;
- int result;
+ pid_t pid;
+ struct timespec interval;
+ int result;
pid = 0;
- result = sched_rr_get_interval( pid, interval );
+ result = sched_rr_get_interval( pid, &interval );
}