kernel: don't use typedef for enums or non-opaque structs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include <socks/sched.h>
|
||||
#include <socks/percpu.h>
|
||||
|
||||
void runqueue_init(runqueue_t *rq)
|
||||
void runqueue_init(struct runqueue *rq)
|
||||
{
|
||||
memset(rq, 0x00, sizeof *rq);
|
||||
rq->rq_lock = SPIN_LOCK_INIT;
|
||||
|
||||
Reference in New Issue
Block a user