summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormycroft <mycroft@NetBSD.org>1994-05-11 04:26:17 +0000
committermycroft <mycroft@NetBSD.org>1994-05-11 04:26:17 +0000
commitef8ba60d246e8039589afe6e07ec787fa35fdfdf (patch)
treef49bf432c90724f080a1ac68686b545d46ce038e
parent7e4a306f1700a51cda4c6acc5acd0776a93b3af3 (diff)
Device strategy functions return void again.
-rw-r--r--sys/arch/i386/i386/conf.c2
-rw-r--r--sys/dev/vn.c1
-rw-r--r--sys/dev/vnd.c1
-rw-r--r--sys/sys/conf.h6
4 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/i386/i386/conf.c b/sys/arch/i386/i386/conf.c
index 8f4be38dcdc..60d0aba6bda 100644
--- a/sys/arch/i386/i386/conf.c
+++ b/sys/arch/i386/i386/conf.c
@@ -1 +1 @@
-revision 1.37 intentionally removed
+revision 1.38 intentionally removed
diff --git a/sys/dev/vn.c b/sys/dev/vn.c
index e1e4e3005ba..fb67d8a6898 100644
--- a/sys/dev/vn.c
+++ b/sys/dev/vn.c
@@ -172,6 +172,7 @@ vnclose(dev, flags, mode, p)
* Note that this driver can only be used for swapping over NFS on the hp
* since nfs_strategy on the vax cannot handle u-areas and page tables.
*/
+void
vnstrategy(bp)
register struct buf *bp;
{
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index e1e4e3005ba..fb67d8a6898 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -172,6 +172,7 @@ vnclose(dev, flags, mode, p)
* Note that this driver can only be used for swapping over NFS on the hp
* since nfs_strategy on the vax cannot handle u-areas and page tables.
*/
+void
vnstrategy(bp)
register struct buf *bp;
{
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index c0b67972bd7..936286c3322 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)conf.h 8.3 (Berkeley) 1/21/94
- * $Id: conf.h,v 1.11 1994/05/05 05:40:05 cgd Exp $
+ * $Id: conf.h,v 1.12 1994/05/11 04:29:11 mycroft Exp $
*/
/*
@@ -54,7 +54,7 @@ struct bdevsw {
struct proc *p));
int (*d_close) __P((dev_t dev, int fflag, int devtype,
struct proc *p));
- int (*d_strategy) __P((struct buf *bp));
+ void (*d_strategy) __P((struct buf *bp));
int (*d_ioctl) __P((dev_t dev, int cmd, caddr_t data,
int fflag, struct proc *p));
int (*d_dump) (); /* parameters vary by architecture */
@@ -80,7 +80,7 @@ struct cdevsw {
struct tty **d_ttys;
int (*d_select) __P((dev_t dev, int which, struct proc *p));
int (*d_mmap) __P(());
- int (*d_strategy) __P((struct buf *bp));
+ void (*d_strategy) __P((struct buf *bp));
};
#ifdef KERNEL