svn commit: r326610 - head/stand/libsa

Warner Losh imp at FreeBSD.org
Wed Dec 6 02:00:11 UTC 2017


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


More information about the svn-src-all mailing list