summaryrefslogtreecommitdiffstats
path: root/libc/include/stdlib.h
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-06-16 16:36:41 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-22 17:51:41 -0700
commit50ace4fec5e8cb5afcbc656a4556fa528adfd760 (patch)
tree04647e039a457f69ba48a8301bebdd605fda7fca /libc/include/stdlib.h
parent6a9b888d7c4b246f6f66360789c72b754ff85021 (diff)
downloadbionic-50ace4fec5e8cb5afcbc656a4556fa528adfd760.zip
bionic-50ace4fec5e8cb5afcbc656a4556fa528adfd760.tar.gz
bionic-50ace4fec5e8cb5afcbc656a4556fa528adfd760.tar.bz2
Remove compiler warnings when building Bionic.
Also add missing declarations to misc. functions. Fix clearerr() implementation (previous was broken). Handle feature test macros like _POSIX_C_SOURCE properly. Change-Id: Icdc973a6b9d550a166fc2545f727ea837fe800c4
Diffstat (limited to 'libc/include/stdlib.h')
-rw-r--r--libc/include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/include/stdlib.h b/libc/include/stdlib.h
index 5a991ac..f889159 100644
--- a/libc/include/stdlib.h
+++ b/libc/include/stdlib.h
@@ -107,6 +107,8 @@ extern long mrand48(void);
extern long nrand48(unsigned short *);
extern long lrand48(void);
extern unsigned short *seed48(unsigned short*);
+extern double erand48(unsigned short xsubi[3]);
+extern double drand48(void);
extern void srand48(long);
extern unsigned int arc4random(void);
extern void arc4random_stir(void);