From 8ad7570c20d2381a5e1962d9b1b813d44c080837 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sat, 27 Nov 2021 21:07:00 +0100 Subject: [PATCH] getentropy: Add missing prototype for BSD variant Warned-by: gcc --- src/getentropy_bsd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/getentropy_bsd.c b/src/getentropy_bsd.c index 705f65b..551b646 100644 --- a/src/getentropy_bsd.c +++ b/src/getentropy_bsd.c @@ -26,6 +26,8 @@ #include #include +int getentropy(void *buf, size_t len); + /* * Derived from lib/libc/gen/arc4random.c from FreeBSD. */