Device strategy functions return void again.
This commit is contained in:
parent
7e4a306f17
commit
ef8ba60d24
@ -1 +1 @@
|
||||
revision 1.37 intentionally removed
|
||||
revision 1.38 intentionally removed
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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;
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user