summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1994-09-05 13:26:40 +0000
committerbde <bde@FreeBSD.org>1994-09-05 13:26:40 +0000
commit5a325be3b5db0971698df1547c1ac0e6048d71cd (patch)
treeec1e010c059637518d007df030eb0bd039186f1f /lib/libc
parent7bf271146a1b994fc3dc35e89f249df446c60b15 (diff)
downloadFreeBSD-src-5a325be3b5db0971698df1547c1ac0e6048d71cd.zip
FreeBSD-src-5a325be3b5db0971698df1547c1ac0e6048d71cd.tar.gz
u_int -> unsigned int, so that we don't have to include <sys/types.h>
or depend on <stdio.h> bogusly including it.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/random.c b/lib/libc/stdlib/random.c
index 18babba..0928a86 100644
--- a/lib/libc/stdlib/random.c
+++ b/lib/libc/stdlib/random.c
@@ -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 */
{
OpenPOWER on IntegriCloud