summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/arc4random.c
Commit message (Collapse)AuthorAgeFilesLines
* stdlib: fix arc4random return type to u_int32_tTimo Teräs2011-12-231-1/+2
| | | | | | | | | | | | | It's documented to be u_int32_t and not uint32_t: http://www.manpagez.com/man/3/arc4random/ This also fixes a major bug that stdlib.h includes stdint.h. Things might go very wrong because stdint.h has conditional defines and if stdlib.h is included before #define's for stdint.h we end up missing things and breaking builds (e.g. openjdk). Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
* arc4random.c, stdlib.h: get rid of hidden arc4random_stirPeter S. Mazinger2011-03-091-5/+5
| | | | | | The function is used only in one file, make an internal static version for this Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* style updatePeter S. Mazinger2011-03-031-12/+5
| | | | | | Style update avoiding compile warnings Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* Last portion of libc_hidden_proto removal.Denis Vlasenko2008-11-201-1/+1
| | | | | Appears to build fine (several .configs tried)
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-3/+3
|
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-181-1/+1
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-8/+8
|
* Don't compile arc4random if option not setPeter S. Mazinger2006-02-131-4/+0
|
* janlana writes in Bug 700: use standard uint* types rather than u_intMike Frysinger2006-02-081-15/+15
|
* correct prototypes and 1 reloc lessPeter S. Mazinger2006-01-171-5/+5
|
* adapt to new hiddenPeter S. Mazinger2006-01-141-3/+9
|
* import the arc4random() function by ashes in Bug 90Mike Frysinger2006-01-081-0/+208