summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-06-14 01:33:52 +0000
committerache <ache@FreeBSD.org>1997-06-14 01:33:52 +0000
commitcbd380e632ab39a7d58cad74907d8a84cfa3a8d1 (patch)
treee82efe2248d81a9140f85ea7d59355ce3a2d6df6 /include
parentcff03109e9b7432970175c803a2fb9d6dbece72a (diff)
downloadFreeBSD-src-cbd380e632ab39a7d58cad74907d8a84cfa3a8d1.zip
FreeBSD-src-cbd380e632ab39a7d58cad74907d8a84cfa3a8d1.tar.gz
Add arc4random family declaration
Diffstat (limited to 'include')
-rw-r--r--include/stdlib.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 3f57478..1bccc76 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -37,6 +37,7 @@
#define _STDLIB_H_
#include <machine/ansi.h>
+#include <machine/types.h>
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
#ifdef _BSD_RUNE_T_
@@ -130,6 +131,10 @@ void srand48 __P((long));
void *alloca __P((size_t)); /* built-in for gcc */
/* getcap(3) functions */
+u_int32_t
+ arc4random __P((void));
+void arc4random_stir __P((void));
+void arc4random_addrandom __P((unsigned char *dat, int datlen));
char *getbsize __P((int *, long *));
char *cgetcap __P((char *, char *, int));
int cgetclose __P((void));
OpenPOWER on IntegriCloud