--- Gnu-Mach/kern/ast.c 2020/09/02 04:42:43 1.1.1.2 +++ Gnu-Mach/kern/ast.c 2020/09/02 04:47:27 1.1.1.4 @@ -35,18 +35,16 @@ * */ -#include -#include -#include - #include #include +#include #include "cpu_number.h" #include #include #include #include #include +#include #include /* for splsched */ @@ -58,10 +56,10 @@ volatile ast_t need_ast[NCPUS]; void -ast_init() +ast_init(void) { #ifndef MACHINE_AST - register int i; + int i; for (i=0; iprocessor_set->runq); if (!(myprocessor->first_quantum) && (rq->count > 0)) { - register queue_t q; + queue_t q; /* * This is not the first quantum, and there may * be something in the processor_set runq. @@ -205,7 +198,7 @@ ast_check() */ q = rq->runq + *(volatile int *)&rq->low; if (queue_empty(q)) { - register int i; + int i; /* * Need to recheck and possibly update hint.