Author: ache
Date: Sun Jun  5 14:04:54 2016
New Revision: 301444
URL: https://svnweb.freebsd.org/changeset/base/301444

Log:
  Prepare for merge of r300956. One year old r288030 which fix prototypes
  can't be merged without conflicts and require merging of other versions
  too and I don't want to go deep in that unmerged commits chain.

Modified:
  stable/10/lib/libc/stdlib/rand.c

Modified: stable/10/lib/libc/stdlib/rand.c
==============================================================================
--- stable/10/lib/libc/stdlib/rand.c    Sun Jun  5 13:39:31 2016        
(r301443)
+++ stable/10/lib/libc/stdlib/rand.c    Sun Jun  5 14:04:54 2016        
(r301444)
@@ -111,14 +111,13 @@ static u_long next =
 #endif
 
 int
-rand()
+rand(void)
 {
        return (do_rand(&next));
 }
 
 void
-srand(seed)
-u_int seed;
+srand(u_int seed)
 {
        next = seed;
 #ifndef USE_WEAK_SEEDING
@@ -136,7 +135,7 @@ u_int seed;
  * data from the kernel.
  */
 void
-sranddev()
+sranddev(void)
 {
        int mib[2];
        size_t len;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to