Fix sched_ule on sparc64, gcc complains sched_random is not a correct

prototype.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Andrew Turner 2015-02-27 15:05:20 +00:00
parent e61722f320
commit ccc41f3e66
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=279358

View File

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