Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2015 15:05:20 +0000 (UTC)
From:      Andrew Turner <andrew@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279358 - head/sys/kern
Message-ID:  <201502271505.t1RF5KhX029292@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502271505.t1RF5KhX029292>