summaryrefslogtreecommitdiffstats
path: root/rand.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-02-25 05:31:51 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-02-25 05:36:21 -0800
commitd3069e9fabe241d6f6c3bc659902e4191bfd5e08 (patch)
tree35d1d378e2a8d00fae7a17ff8a89119fa5671e81 /rand.c
parent1eb5c9800789e0f6b14c84656b12418bd86e0786 (diff)
downloadtxr-d3069e9fabe241d6f6c3bc659902e4191bfd5e08.tar.gz
txr-d3069e9fabe241d6f6c3bc659902e4191bfd5e08.tar.bz2
txr-d3069e9fabe241d6f6c3bc659902e4191bfd5e08.zip
Version 58txr-58
* txr.c (version): Bumped. * txr.1: Bumped version and set date. * configure (txr_ver): Bumped. * RELNOTES: Updated. * eval.c (eval_init): Updated. * rand.c (rand): Function renamed to rnd due to a clash with standard C library (that does not show up when compiling as C++). * rand.h (rand): Declaration renamed to rnd.
Diffstat (limited to 'rand.c')
-rw-r--r--rand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rand.c b/rand.c
index ca78c8ad..30708ab7 100644
--- a/rand.c
+++ b/rand.c
@@ -241,7 +241,7 @@ invalid:
modulus, nao);
}
-val rand(val modulus, val state)
+val rnd(val modulus, val state)
{
return random(state, modulus);
}