u_int -> unsigned int, so that we don't have to include <sys/types.h>
or depend on <stdio.h> bogusly including it.
This commit is contained in:
parent
c33a3f955c
commit
7e80dad5c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2504
@ -190,7 +190,7 @@ static long *end_ptr = &randtbl[DEG_3 + 1];
|
||||
*/
|
||||
void
|
||||
srandom(x)
|
||||
u_int x;
|
||||
unsigned int x;
|
||||
{
|
||||
register int i, j;
|
||||
|
||||
@ -229,7 +229,7 @@ srandom(x)
|
||||
*/
|
||||
char *
|
||||
initstate(seed, arg_state, n)
|
||||
u_int seed; /* seed for R.N.G. */
|
||||
unsigned int seed; /* seed for R.N.G. */
|
||||
char *arg_state; /* pointer to state array */
|
||||
int n; /* # bytes of state info */
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user