diff options
Diffstat (limited to 'robots/rnd_pos.c')
-rw-r--r-- | robots/rnd_pos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/robots/rnd_pos.c b/robots/rnd_pos.c index e5a0b4c3..65baea60 100644 --- a/robots/rnd_pos.c +++ b/robots/rnd_pos.c @@ -1,4 +1,4 @@ -/* $NetBSD: rnd_pos.c,v 1.8 2009/07/20 06:39:06 dholland Exp $ */ +/* $NetBSD: rnd_pos.c,v 1.9 2009/07/20 06:43:18 dholland Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)rnd_pos.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: rnd_pos.c,v 1.8 2009/07/20 06:39:06 dholland Exp $"); +__RCSID("$NetBSD: rnd_pos.c,v 1.9 2009/07/20 06:43:18 dholland Exp $"); #endif #endif /* not lint */ @@ -67,5 +67,5 @@ int rnd(int range) { - return rand() % range; + return random() % range; } |