diff options
| author | dholland <dholland@NetBSD.org> | 2009-08-12 08:44:45 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2009-08-12 08:44:45 +0000 |
| commit | 39a1066cab493ece48c6e692513d1311b7e27c44 (patch) | |
| tree | a896a49b2b5b09b9763d953ea2ce9ec0e813beb3 /rogue/random.c | |
| parent | 4fa17c6f9afc7c76d0350d5d9e5996391aa18137 (diff) | |
| download | bsdgames-darwin-39a1066cab493ece48c6e692513d1311b7e27c44.tar.gz bsdgames-darwin-39a1066cab493ece48c6e692513d1311b7e27c44.zip | |
sprinkle static
Diffstat (limited to 'rogue/random.c')
| -rw-r--r-- | rogue/random.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rogue/random.c b/rogue/random.c index e527903c..f119c0f9 100644 --- a/rogue/random.c +++ b/rogue/random.c @@ -1,4 +1,4 @@ -/* $NetBSD: random.c,v 1.7 2008/01/14 03:50:02 dholland Exp $ */ +/* $NetBSD: random.c,v 1.8 2009/08/12 08:44:45 dholland Exp $ */ /* * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)random.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: random.c,v 1.7 2008/01/14 03:50:02 dholland Exp $"); +__RCSID("$NetBSD: random.c,v 1.8 2009/08/12 08:44:45 dholland Exp $"); #endif #endif /* not lint */ @@ -73,6 +73,8 @@ static int rand_deg = 31; static int rand_sep = 3; static long *end_ptr = &rntb[32]; +static long rrandom(void); + void srrandom(int x) { @@ -91,7 +93,7 @@ srrandom(int x) } } -long +static long rrandom(void) { long i; |
