]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
Add missing prototypes for arc4random_buf and arc4random_uniform
authorKevin McCarthy <signals@gentoo.org>
Tue, 22 Feb 2011 19:44:21 +0000 (20:44 +0100)
committerGuillem Jover <guillem@hadrons.org>
Sat, 14 May 2011 11:43:49 +0000 (13:43 +0200)
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
include/bsd/stdlib.h

index ea790bcd39cdbe036e473e460dc2214935419105..bf30f36aaccef6d421006b102ce353e0b9fa4c3c 100644 (file)
@@ -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);