summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-08 10:52:33 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-08 10:52:33 +0000
commit965f9f79077acb64c23adf7d25297224e7682d89 (patch)
tree05a92c78ca61d474e60a43eb805949f7acf6c73c
parentd77cf75994785adbf512e8f0306a56e70cbe891d (diff)
prototypes for arc4random
-rw-r--r--include/stdlib.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 1f0b19b0a..8448ba8c6 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -845,6 +845,12 @@ extern int getloadavg (double __loadavg[], int __nelem)
__THROW __nonnull ((1));
#endif
+#ifdef __UCLIBC_HAS_ARC4RANDOM__
+extern u_int32_t arc4random(void);
+extern void arc4random_stir(void);
+extern void arc4random_addrandom(unsigned char *, int);
+#endif
+
#endif /* don't just need malloc and calloc */
#undef __need_malloc_and_calloc