Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/common/lib/libc/stdlib whitespace



details:   https://anonhg.NetBSD.org/src/rev/524cb73894c1
branches:  trunk
changeset: 813640:524cb73894c1
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Feb 08 05:27:24 2016 +0000

description:
whitespace

diffstat:

 common/lib/libc/stdlib/random.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (51 lines):

diff -r 7085fa29d150 -r 524cb73894c1 common/lib/libc/stdlib/random.c
--- a/common/lib/libc/stdlib/random.c   Sun Feb 07 21:03:49 2016 +0000
+++ b/common/lib/libc/stdlib/random.c   Mon Feb 08 05:27:24 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: random.c,v 1.4 2014/06/12 20:59:46 christos Exp $      */
+/*     $NetBSD: random.c,v 1.5 2016/02/08 05:27:24 dholland Exp $      */
 
 /*
  * Copyright (c) 1983, 1993
@@ -35,7 +35,7 @@
 #if 0
 static char sccsid[] = "@(#)random.c   8.2 (Berkeley) 5/19/95";
 #else
-__RCSID("$NetBSD: random.c,v 1.4 2014/06/12 20:59:46 christos Exp $");
+__RCSID("$NetBSD: random.c,v 1.5 2016/02/08 05:27:24 dholland Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -92,7 +92,7 @@
  * state information, which will allow a degree seven polynomial.  (Note:
  * the zeroeth word of state information also has some other information
  * stored in it -- see setstate() for details).
- * 
+ *
  * The random number generation technique is a linear feedback shift register
  * approach, employing trinomials (since there are fewer terms to sum up that
  * way).  In this approach, the least significant bit of all the numbers in
@@ -318,12 +318,12 @@
  * the break values for the different R.N.G.'s, we choose the best (largest)
  * one we can and set things up for it.  srandom() is then called to
  * initialize the state information.
- * 
+ *
  * Note that on return from srandom(), we set state[-1] to be the type
  * multiplexed with the current value of the rear pointer; this is so
  * successive calls to initstate() won't lose this information and will be
  * able to restart with setstate().
- * 
+ *
  * Note: the first thing we do is save the current state, if any, just like
  * setstate() so that it doesn't matter when initstate is called.
  *
@@ -511,7 +511,7 @@
 {
        static u_long randseed = 1;
        long x, hi, lo, t;
- 
+
        /*
         * Compute x[n + 1] = (7^5 * x[n]) mod (2^31 - 1).
         * From "Random number generators: good ones are hard to find",



Home | Main Index | Thread Index | Old Index