diff options
Diffstat (limited to 'libgo/runtime/go-rand.c')
-rw-r--r-- | libgo/runtime/go-rand.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libgo/runtime/go-rand.c b/libgo/runtime/go-rand.c deleted file mode 100644 index 9632efc09cd..00000000000 --- a/libgo/runtime/go-rand.c +++ /dev/null @@ -1,18 +0,0 @@ -// Copyright 2009 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -#include "runtime.h" - -uint32 -runtime_fastrand1(void) -{ - uint32 x; - - x = m->fastrand; - x += x; - if(x & 0x80000000L) - x ^= 0x88888eefUL; - m->fastrand = x; - return x; -} |