From 965f9f79077acb64c23adf7d25297224e7682d89 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 8 Jan 2006 10:52:33 +0000 Subject: prototypes for arc4random --- include/stdlib.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 -- cgit v1.2.3