From: Kevin McCarthy Date: Tue, 22 Feb 2011 19:44:21 +0000 (+0100) Subject: Add missing prototypes for arc4random_buf and arc4random_uniform X-Git-Tag: 0.3.0~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=741eb5876341c0310fe485cc9dd3af75bc9f4ab9;p=thirdparty%2Flibbsd.git Add missing prototypes for arc4random_buf and arc4random_uniform Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511 --- 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);