From e294a1269f3c3f58e13ca6ee391c20b047d86f57 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 6 Dec 2017 02:00:09 +0000 Subject: [PATCH] Fix random() prototype to match the system. Sponsored by: Netflix --- stand/libsa/stand.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/libsa/stand.h b/stand/libsa/stand.h index 13feb152d36..3b8825ef248 100644 --- a/stand/libsa/stand.h +++ b/stand/libsa/stand.h @@ -282,7 +282,7 @@ extern ssize_t write(int, void *, size_t); extern struct dirent *readdirfd(int); extern void srandom(unsigned int); -extern u_long random(void); +extern long random(void); /* imports from stdlib, locally modified */ extern long strtol(const char *, char **, int); -- 2.45.0