diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index d52eb48446e7..04b4ec6c4d87 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -364,7 +364,7 @@ SDT_PROBE_DEFINE2(sched, , , surrender, "struct thread *", * both positive and negative values from it by shifting the value * right. */ -static int sched_random() +static int sched_random(void) { int rnd, *rndptr; rndptr = DPCPU_PTR(randomval);