added include of <sched.h> and fixed warnings

This commit is contained in:
Joel Sherrill
1996-06-06 19:16:20 +00:00
parent 782bdfd125
commit 0a359a7af5
2 changed files with 6 additions and 4 deletions

View File

@@ -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 );