diff options
author | andrew <andrew@FreeBSD.org> | 2015-02-27 15:05:20 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-02-27 15:05:20 +0000 |
commit | 078d1e1d3a0a58878835a27a8c7a885001722fc6 (patch) | |
tree | 999637407cdb131bb28bda3b9a5909f0fd8f57a3 /sys/kern/sched_ule.c | |
parent | c1c12e9f5ed7c8e523dda420aacc691d005f1e31 (diff) | |
download | FreeBSD-src-078d1e1d3a0a58878835a27a8c7a885001722fc6.zip FreeBSD-src-078d1e1d3a0a58878835a27a8c7a885001722fc6.tar.gz |
Fix sched_ule on sparc64, gcc complains sched_random is not a correct
prototype.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/kern/sched_ule.c')
-rw-r--r-- | sys/kern/sched_ule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c index d52eb48..04b4ec6 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); |