aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-12-29 02:44:01 +0000
committerwkj <devnull@localhost>2004-12-29 02:44:01 +0000
commit8d8865f3d04d53ecb9f65bdd231dfc365e9dc743 (patch)
treea057d7beb90508b78792c48de6a6fb61ebeae39e
parent3015b83184ca9d1f6e72800cb1b3df72dd63dd62 (diff)
downloadplan9port-8d8865f3d04d53ecb9f65bdd231dfc365e9dc743.tar.gz
plan9port-8d8865f3d04d53ecb9f65bdd231dfc365e9dc743.tar.bz2
plan9port-8d8865f3d04d53ecb9f65bdd231dfc365e9dc743.zip
Rename lrand to p9lrand, too.
-rw-r--r--include/libc.h1
-rw-r--r--src/lib9/lrand.c2
2 files changed, 2 insertions, 1 deletions
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;