minor include style fix
parent
ddcdd9423c
commit
c74fe56091
3
random.c
3
random.c
|
@ -1,6 +1,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "chacha.h"
|
||||||
#include "random.h"
|
#include "random.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
|
@ -16,8 +17,6 @@ static ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "chacha.h"
|
|
||||||
|
|
||||||
static void get_random_seed(void *buf, size_t size) {
|
static void get_random_seed(void *buf, size_t size) {
|
||||||
while (size > 0) {
|
while (size > 0) {
|
||||||
ssize_t r;
|
ssize_t r;
|
||||||
|
|
Loading…
Reference in New Issue