diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-12 20:14:28 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-10-12 20:14:28 +0000 |
commit | 58730a8c4d7fc2396f447540a9a034d35dd7455b (patch) | |
tree | d757ecc10acc11082c63e5e0be0dd864b110d762 /sys | |
parent | 773367b4bf0719580c39aebbfafdf0b3130a7aa9 (diff) |
KNF; types
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/stand/libsa/memprobe.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/arch/i386/stand/libsa/memprobe.c b/sys/arch/i386/stand/libsa/memprobe.c index 4a882a60de7..bb3d5856d8f 100644 --- a/sys/arch/i386/stand/libsa/memprobe.c +++ b/sys/arch/i386/stand/libsa/memprobe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: memprobe.c,v 1.12 1997/09/17 17:56:10 mickey Exp $ */ +/* $OpenBSD: memprobe.c,v 1.13 1997/10/12 20:14:27 mickey Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -36,7 +36,7 @@ #include <machine/biosvar.h> #include "libsa.h" -static int addrprobe __P((int)); +static int addrprobe __P((u_int)); u_int cnvmem, extmem; void @@ -78,9 +78,12 @@ memprobe() * * BTW: These machines are pretty broken IMHO. */ -static int addrprobe(int kloc){ - volatile int *loc, i; - static const int pat[] = { +static int +addrprobe(kloc) + u_int kloc; +{ + __volatile u_int *loc, i; + static const u_int pat[] = { 0x00000000, 0xFFFFFFFF, 0x01010101, 0x10101010, 0x55555555, 0xCCCCCCCC |