summaryrefslogtreecommitdiffstats
path: root/c/src/tests/psxtests/psxhdrs/sched08.c
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 /c/src/tests/psxtests/psxhdrs/sched08.c
parentnew files (diff)
downloadrtems-3d135eeaa9efe38b8509786053a0324c03ebf127.tar.bz2
cleanup
Diffstat (limited to 'c/src/tests/psxtests/psxhdrs/sched08.c')
-rw-r--r--c/src/tests/psxtests/psxhdrs/sched08.c10
1 files changed, 5 insertions, 5 deletions
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 );
}