From a9e8e3d1cb8235f513f4d8434509acf287494fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20SVENSSON?= Date: Mon, 25 Sep 2023 20:37:45 +0200 Subject: [PATCH] newlib: Add missing prototype for _getentropy --- newlib/libc/include/sys/unistd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/newlib/libc/include/sys/unistd.h b/newlib/libc/include/sys/unistd.h index 807407700..25532251c 100644 --- a/newlib/libc/include/sys/unistd.h +++ b/newlib/libc/include/sys/unistd.h @@ -262,6 +262,7 @@ void * _sbrk (ptrdiff_t __incr); int _unlink (const char *__path); _READ_WRITE_RETURN_TYPE _write (int __fd, const void *__buf, size_t __nbyte); int _execve (const char *__path, char * const __argv[], char * const __envp[]); +int _getentropy (void *, size_t); #endif #if !defined(__INSIDE_CYGWIN__)