Fix random() prototype to match the system.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-06 02:00:09 +00:00
parent e8e6a5f920
commit e294a1269f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326610

View File

@ -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);