diff options
Diffstat (limited to 'testsuites/psxtests/psxhdrs/sched08.c')
-rw-r--r-- | testsuites/psxtests/psxhdrs/sched08.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 ); } |