From 92773db48eb6be7bc3ef12f44e4b163a7f5e0af3 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 12 Jun 2001 21:45:10 +0000 Subject: Cleanup the toploevel makefile handing of shared libs. Add weak_alias define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik --- libc/stdlib/random.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/stdlib/random.c') diff --git a/libc/stdlib/random.c b/libc/stdlib/random.c index bef89c01f..cbd4206ae 100644 --- a/libc/stdlib/random.c +++ b/libc/stdlib/random.c @@ -34,5 +34,4 @@ void srandom(unsigned int seed) seed3 = seed % 31656 + 1; } -__asm__(".weak srand; srand = srandom"); - +weak_alias(srandom, srand); -- cgit v1.2.3