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 | |
parent | 7b0aaf93e42a687f51d7688257ce3fc0e29ec8c2 (diff) |
Fixed prototype errors, reviewed & approved by deraadt
-rw-r--r-- | sys/scsi/uk.c | 12 | ||||
-rw-r--r-- | sys/sys/conf.h | 5 |
2 files changed, 13 insertions, 4 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)]; diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 4c0aaf3aae8..f1501727216 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.13 1996/08/29 09:26:42 deraadt Exp $ */ +/* $OpenBSD: conf.h,v 1.14 1996/10/04 17:58:41 niklas Exp $ */ /* $NetBSD: conf.h,v 1.33 1996/05/03 20:03:32 christos Exp $ */ /*- @@ -424,6 +424,9 @@ cdev_decl(st); bdev_decl(cd); cdev_decl(cd); +bdev_decl(uk); +cdev_decl(uk); + cdev_decl(bpf); cdev_decl(tun); |