summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin McCarthy <signals@gentoo.org>2011-02-22 20:44:21 +0100
committerGuillem Jover <guillem@hadrons.org>2011-05-14 13:43:49 +0200
commit741eb5876341c0310fe485cc9dd3af75bc9f4ab9 (patch)
tree415c3e4f3b273bbcf827f549f6948a9405dbf588
parent9baf9640b9af3bbdb041703e684d3928263fb363 (diff)
downloadlibbsd-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.h2
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);