diff options
author | Kevin McCarthy <signals@gentoo.org> | 2011-02-22 20:44:21 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-14 13:43:49 +0200 |
commit | 741eb5876341c0310fe485cc9dd3af75bc9f4ab9 (patch) | |
tree | 415c3e4f3b273bbcf827f549f6948a9405dbf588 | |
parent | 9baf9640b9af3bbdb041703e684d3928263fb363 (diff) | |
download | libbsd-741eb5876341c0310fe485cc9dd3af75bc9f4ab9.tar.gz |
Add missing prototypes for arc4random_buf and arc4random_uniform
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
-rw-r--r-- | include/bsd/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |