This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
[newlib-cygwin] Drop redundant arc4random prototypes from cygwin/stdlib.h
- From: Corinna Vinschen <corinna at sourceware dot org>
- To: cygwin-cvs at sourceware dot org
- Date: 20 Mar 2016 20:31:30 -0000
- Subject: [newlib-cygwin] Drop redundant arc4random prototypes from cygwin/stdlib.h
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1cca343e4714d11c53e23c8a3a17deba3e5531db
commit 1cca343e4714d11c53e23c8a3a17deba3e5531db
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Sun Mar 20 21:30:58 2016 +0100
Drop redundant arc4random prototypes from cygwin/stdlib.h
Newlib's default stdlib.h now defines these functions so we can
drop them from the Cygwin-specific header. Remove the arc4random_stir
and arc4random_uniform prototypes entirely. They shouldn't be used
by applications anymore.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diff:
---
winsup/cygwin/include/cygwin/stdlib.h | 6 ------
1 file changed, 6 deletions(-)
diff --git a/winsup/cygwin/include/cygwin/stdlib.h b/winsup/cygwin/include/cygwin/stdlib.h
index 00615a9..01c5646 100644
--- a/winsup/cygwin/include/cygwin/stdlib.h
+++ b/winsup/cygwin/include/cygwin/stdlib.h
@@ -19,12 +19,6 @@ extern "C"
{
#endif
-__uint32_t arc4random(void);
-void arc4random_addrandom(unsigned char *, int);
-void arc4random_buf(void *, size_t);
-void arc4random_stir(void);
-__uint32_t arc4random_uniform(__uint32_t);
-
const char *getprogname (void);
void setprogname (const char *);