OSDN Git Service
(root)
/
android-x86
/
bionic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13dcb88
)
change unsigned int to uint32_t for api arc4random/arc4random_uniform
author
Yabin Cui
<yabinc@google.com>
Tue, 28 Oct 2014 19:04:02 +0000
(12:04 -0700)
committer
Yabin Cui
<yabinc@google.com>
Tue, 28 Oct 2014 20:44:48 +0000
(13:44 -0700)
Bug:
17894480
Change-Id: Ia4b5a7cd2b2c6002ed70955f86f7780d26d15e26
libc/include/stdlib.h
patch
|
blob
|
history
diff --git
a/libc/include/stdlib.h
b/libc/include/stdlib.h
index
fd2bf6c
..
b97eaf9
100644
(file)
--- a/
libc/include/stdlib.h
+++ b/
libc/include/stdlib.h
@@
-112,8
+112,8
@@
extern double erand48(unsigned short xsubi[3]);
extern double drand48(void);
extern void srand48(long);
-u
nsigned in
t arc4random(void);
-u
nsigned int arc4random_uniform(unsigned in
t);
+u
int32_
t arc4random(void);
+u
int32_t arc4random_uniform(uint32_
t);
void arc4random_buf(void*, size_t);
#define RAND_MAX 0x7fffffff