Date: Wed, 6 Dec 2017 02:00:09 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326610 - head/stand/libsa Message-ID: <201712060200.vB6209Yf032347@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed Dec 6 02:00:09 2017 New Revision: 326610 URL: https://svnweb.freebsd.org/changeset/base/326610 Log: Fix random() prototype to match the system. Sponsored by: Netflix Modified: head/stand/libsa/stand.h Modified: head/stand/libsa/stand.h ============================================================================== --- head/stand/libsa/stand.h Wed Dec 6 02:00:00 2017 (r326609) +++ head/stand/libsa/stand.h Wed Dec 6 02:00:09 2017 (r326610) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712060200.vB6209Yf032347>