diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-06 19:16:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1996-06-06 19:16:20 +0000 |
commit | 0a359a7af55effb59bbf4febb3d3fb37907d0a9d (patch) | |
tree | 129129e747d760bef98ec321f0af5ff16ce86456 /testsuites/psxtests | |
parent | Removed assert's from routines which return the error ENOSYS. (diff) | |
download | rtems-0a359a7af55effb59bbf4febb3d3fb37907d0a9d.tar.bz2 |
added include of <sched.h> and fixed warnings
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/psx01/init.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/psxtests/psx01/init.c b/testsuites/psxtests/psx01/init.c index a7c5bf69bd..2d69a3786a 100644 --- a/testsuites/psxtests/psx01/init.c +++ b/testsuites/psxtests/psx01/init.c @@ -12,6 +12,7 @@ #define CONFIGURE_INIT #include "system.h" +#include <sched.h> #define TM_SUNDAY 0 #define TM_MONDAY 1 @@ -136,8 +137,8 @@ void *POSIX_Init( status = sched_rr_get_interval( getpid(), &tr ); printf( "Round Robin quantum is %d seconds, %d nanoseconds\n", - tr.tv_sec, - tr.tv_nsec + (int) tr.tv_sec, + (int) tr.tv_nsec ); assert( !status ); |