summaryrefslogtreecommitdiff
path: root/libc/stdlib/random.c
AgeCommit message (Collapse)Author
2003-12-27Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests.
2002-03-19Merge glibc random, which gets us a much better RNG and aEric Andersen
reentrant one as well. It is not much bigger than what we had, so... -Erik
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-04-27As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias forEric Andersen
srand was in the wrong file, causing rand.o to be needlessly included in some cases.
2001-03-22Add in random(), make rand use that under the hood. Fix theEric Andersen
include file so folks know random is now there.