Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/libc/arc4random_stir.c')
-rw-r--r--winsup/cygwin/libc/arc4random_stir.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/winsup/cygwin/libc/arc4random_stir.c b/winsup/cygwin/libc/arc4random_stir.c
new file mode 100644
index 000000000..16481303e
--- /dev/null
+++ b/winsup/cygwin/libc/arc4random_stir.c
@@ -0,0 +1,24 @@
+/* libc/arc4random_stir.c
+
+ Copyright 2016 Red Hat, Inc.
+
+This file is part of Cygwin.
+
+This software is a copyrighted work licensed under the terms of the
+Cygwin license. Please consult the file "CYGWIN_LICENSE" for
+details. */
+
+#include <sys/types.h>
+
+/* Exported functions removed from OpenBSD in the meantime. Keep them,
+ but make them non-functional. They don't return a value anyway. */
+
+void
+arc4random_stir(void)
+{
+}
+
+void
+arc4random_addrandom(u_char *dat, int datlen)
+{
+}