diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-04 17:58:46 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-04 17:58:46 +0000 |
commit | 1fcd63a658fd37ebb7f92d69dc3a391771461e1e (patch) | |
tree | 62c98f9d01eb2bab869d4233bcea105f021d1386 /sys/scsi/uk.c | |
parent | 7b0aaf93e42a687f51d7688257ce3fc0e29ec8c2 (diff) |
Fixed prototype errors, reviewed & approved by deraadt
Diffstat (limited to 'sys/scsi/uk.c')
-rw-r--r-- | sys/scsi/uk.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sys/scsi/uk.c b/sys/scsi/uk.c index 7652b9e66b6..8860b64a0db 100644 --- a/sys/scsi/uk.c +++ b/sys/scsi/uk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uk.c,v 1.4 1996/08/11 23:26:08 deraadt Exp $ */ +/* $OpenBSD: uk.c,v 1.5 1996/10/04 17:58:45 niklas Exp $ */ /* $NetBSD: uk.c,v 1.15 1996/03/17 00:59:57 thorpej Exp $ */ /* @@ -37,8 +37,10 @@ #include <sys/types.h> #include <sys/param.h> +#include <sys/systm.h> #include <sys/errno.h> #include <sys/ioctl.h> +#include <sys/conf.h> #include <sys/device.h> #include <scsi/scsi_all.h> @@ -113,8 +115,10 @@ ukattach(parent, self, aux) * open the device. */ int -ukopen(dev) +ukopen(dev, flag, fmt, p) dev_t dev; + int flag, fmt; + struct proc *p; { int unit; struct uk_softc *uk; @@ -151,8 +155,10 @@ ukopen(dev) * occurence of an open device */ int -ukclose(dev) +ukclose(dev, flag, fmt, p) dev_t dev; + int flag, fmt; + struct proc *p; { struct uk_softc *uk = uk_cd.cd_devs[UKUNIT(dev)]; |