mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-24 02:51:43 +01:00
Fix arc4random() and arc4random_stir() prototypes
These two functions accept no arguments. The prototypes should reflect this. This change lets the compiler warn about certain (admittedly silly) mistakes. Signed-off-by: Guillem Jover <guillem@hadrons.org>
This commit is contained in:
parent
e390651b64
commit
6378351169
@ -47,8 +47,8 @@
|
||||
#include <stdint.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
u_int32_t arc4random();
|
||||
void arc4random_stir();
|
||||
u_int32_t arc4random(void);
|
||||
void arc4random_stir(void);
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user