Author: andrew Date: Fri Feb 27 15:05:20 2015 New Revision: 279358 URL: https://svnweb.freebsd.org/changeset/base/279358
Log: Fix sched_ule on sparc64, gcc complains sched_random is not a correct prototype. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched_ule.c ============================================================================== --- head/sys/kern/sched_ule.c Fri Feb 27 12:40:44 2015 (r279357) +++ head/sys/kern/sched_ule.c Fri Feb 27 15:05:20 2015 (r279358) @@ -364,7 +364,7 @@ SDT_PROBE_DEFINE2(sched, , , surrender, * 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); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"