Commit 741eb5876341c0310fe485cc9dd3af75bc9f4ab9

Kevin McCarthy 2011-02-22T20:44:21

Add missing prototypes for arc4random_buf and arc4random_uniform Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h
index ea790bc..bf30f36 100644
--- a/include/bsd/stdlib.h
+++ b/include/bsd/stdlib.h
@@ -45,6 +45,8 @@ __BEGIN_DECLS
 u_int32_t arc4random();
 void arc4random_stir();
 void arc4random_addrandom(u_char *dat, int datlen);
+void arc4random_buf(void *_buf, size_t n);
+u_int32_t arc4random_uniform(u_int32_t upper_bound);
 
 int dehumanize_number(const char *str, int64_t *size);