summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/random.c
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-5/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* random: use smaller data fields where appropriateDenis Vlasenko2008-12-011-10/+1
| | | | | | | | | text data bss dec hex filename - 130 156 0 286 11e libc/stdlib/random.o + 130 148 0 278 116 libc/stdlib/random.o - 586 0 0 586 24a libc/stdlib/random_r.o + 570 0 0 570 23a libc/stdlib/random_r.o
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-5/+5
| | | | | Appears to build fine (several .configs tried)
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-071-12/+11
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-221-1/+0
| | | | is a useless attempt
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-141-1/+1
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-141-8/+9
| | | | missing headers, other jump relocs removed
* hidden initstate_r and usePeter S. Mazinger2005-12-091-0/+1
|
* macro out the thread funcs in libc if threading is disabledMike Frysinger2005-12-061-4/+2
|
* Hide setstate_r, testPeter S. Mazinger2005-12-031-0/+1
|
* fix warning about __random() not being a prototypeMike Frysinger2005-11-301-1/+1
|
* Hiding againPeter S. Mazinger2005-11-291-2/+5
|
* 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.