From 8d8865f3d04d53ecb9f65bdd231dfc365e9dc743 Mon Sep 17 00:00:00 2001 From: wkj Date: Wed, 29 Dec 2004 02:44:01 +0000 Subject: Rename lrand to p9lrand, too. --- include/libc.h | 1 + src/lib9/lrand.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/libc.h b/include/libc.h index 20b38667..3d110ba9 100644 --- a/include/libc.h +++ b/include/libc.h @@ -239,6 +239,7 @@ extern int needsrcquote(int); #ifndef NOPLAN9DEFINES #define rand p9rand #define srand p9srand +#define lrand p9lrand #endif extern void srand(long); diff --git a/src/lib9/lrand.c b/src/lib9/lrand.c index e9bf4ac2..8f536456 100644 --- a/src/lib9/lrand.c +++ b/src/lib9/lrand.c @@ -57,7 +57,7 @@ p9srand(long seed) } long -lrand(void) +p9lrand(void) { ulong x; -- cgit v1.2.3