summaryrefslogtreecommitdiff
path: root/libc/stdlib/rand.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/rand.c')
-rw-r--r--libc/stdlib/rand.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/rand.c b/libc/stdlib/rand.c
index a4c739c18..cdf58ecc7 100644
--- a/libc/stdlib/rand.c
+++ b/libc/stdlib/rand.c
@@ -17,10 +17,10 @@
* write to the Free Software Foundation, Inc., 675 Mass Ave,
* Cambridge, MA 02139, USA. */
-#define random __random
-
#include <stdlib.h>
+libc_hidden_proto(random)
+
int rand (void)
{
return((int)random());