From 741eb5876341c0310fe485cc9dd3af75bc9f4ab9 Mon Sep 17 00:00:00 2001 From: Kevin McCarthy Date: Tue, 22 Feb 2011 20:44:21 +0100 Subject: [PATCH] Add missing prototypes for arc4random_buf and arc4random_uniform Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511 --- include/bsd/stdlib.h | 2 ++ 1 file changed, 2 insertions(+) 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);