summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/random.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix a long-standing bug with pthreads. A couple of linuxthreads filesManuel Novoa III2003-12-271-10/+10
| | | | | | | | | | | | | | | | 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.
* Merge glibc random, which gets us a much better RNG and aEric Andersen2002-03-191-23/+241
| | | | | | reentrant one as well. It is not much bigger than what we had, so... -Erik
* Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen2001-06-121-2/+1
| | | | | | define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
* As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias forEric Andersen2001-04-271-0/+2
| | | | | srand was in the wrong file, causing rand.o to be needlessly included in some cases.
* Add in random(), make rand use that under the hood. Fix theEric Andersen2001-03-221-0/+36
include file so folks know random is now there.