Fix sched_ule on sparc64, gcc complains sched_random is not a correct
prototype. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
c1c12e9f5e
commit
078d1e1d3a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user