*strategy functions return void.

This commit is contained in:
mycroft 1994-01-11 17:19:37 +00:00
parent f13e8e7954
commit efdb9fa688
14 changed files with 30 additions and 25 deletions

View File

@ -37,7 +37,7 @@
*
* from: Utah Hdr: cd.c 1.6 90/11/28
* from: @(#)cd.c 7.4 (Berkeley) 5/7/91
* $Id: cd.c,v 1.2 1993/08/01 19:23:52 mycroft Exp $
* $Id: cd.c,v 1.3 1994/01/11 17:19:37 mycroft Exp $
*/
/*
@ -326,6 +326,7 @@ cdopen(dev, flags)
return(0);
}
void
cdstrategy(bp)
register struct buf *bp;
{

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)ct.c 7.3 (Berkeley) 5/4/91
* $Id: ct.c,v 1.2 1993/08/01 19:23:54 mycroft Exp $
* $Id: ct.c,v 1.3 1994/01/11 17:19:39 mycroft Exp $
*/
#include "ct.h"
@ -379,6 +379,7 @@ again:
brelse(nbp);
}
void
ctstrategy(bp)
register struct buf *bp;
{

View File

@ -37,7 +37,7 @@
*
* from: Utah Hdr: rd.c 1.38 90/10/12
* from: @(#)rd.c 7.9 (Berkeley) 5/7/91
* $Id: rd.c,v 1.3 1993/08/01 19:24:28 mycroft Exp $
* $Id: rd.c,v 1.4 1994/01/11 17:19:40 mycroft Exp $
*/
/*
@ -615,6 +615,7 @@ rdopen(dev, flags, mode, p)
return(0);
}
void
rdstrategy(bp)
register struct buf *bp;
{

View File

@ -37,7 +37,7 @@
*
* from: Utah Hdr: st.c 1.8 90/10/14
* from: @(#)st.c 7.3 (Berkeley) 5/4/91
* $Id: st.c,v 1.3 1993/08/01 19:24:30 mycroft Exp $
* $Id: st.c,v 1.4 1994/01/11 17:19:42 mycroft Exp $
*/
/*
@ -687,6 +687,7 @@ stclose(dev, flag)
return(0); /* XXX */
}
void
ststrategy(bp)
register struct buf *bp;
{

View File

@ -37,7 +37,7 @@
*
* from: Utah Hdr: vn.c 1.1 91/04/30
* from: @(#)vn.c 7.6 (Berkeley) 6/21/91
* $Id: vn.c,v 1.4 1993/11/12 05:54:20 cgd Exp $
* $Id: vn.c,v 1.5 1994/01/11 17:19:44 mycroft Exp $
*/
/*
@ -129,6 +129,7 @@ vnopen(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;
{

View File

@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: cd.c,v 1.20 1993/12/23 09:35:51 cgd Exp $
* $Id: cd.c,v 1.21 1994/01/11 17:21:57 mycroft Exp $
*/
#define SPLCD splbio
@ -68,7 +68,7 @@ int Debugger();
extern int hz;
int cd_done();
int cdstrategy();
void cdstrategy();
int cd_debug = 0;
struct buf cd_buf_queue[NCD];
@ -334,7 +334,7 @@ struct buf *bp;
* only one physical transfer. *
\*******************************************************/
int cdstrategy(bp)
void cdstrategy(bp)
struct buf *bp;
{
struct buf *dp;

View File

@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: sd.c,v 1.19 1993/12/17 08:50:56 mycroft Exp $
* $Id: sd.c,v 1.20 1994/01/11 17:22:02 mycroft Exp $
*/
#include "sd.h"
@ -339,7 +339,7 @@ sdminphys(struct buf *bp)
* The transfer is described by a buf and will include
* only one physical transfer.
*/
int
void
sdstrategy(struct buf *bp)
{
struct sd_data *sd;

View File

@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: st.c,v 1.17 1993/12/17 08:51:06 mycroft Exp $
* $Id: st.c,v 1.18 1994/01/11 17:22:06 mycroft Exp $
*/
/*
@ -318,7 +318,7 @@ stminphys(struct buf *bp)
* The transfer is described by a buf and will include
* only one physical transfer.
*/
int
void
ststrategy(struct buf *bp)
{
struct st_data *st;

View File

@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: cd.c,v 1.20 1993/12/23 09:35:51 cgd Exp $
* $Id: cd.c,v 1.21 1994/01/11 17:21:57 mycroft Exp $
*/
#define SPLCD splbio
@ -68,7 +68,7 @@ int Debugger();
extern int hz;
int cd_done();
int cdstrategy();
void cdstrategy();
int cd_debug = 0;
struct buf cd_buf_queue[NCD];
@ -334,7 +334,7 @@ struct buf *bp;
* only one physical transfer. *
\*******************************************************/
int cdstrategy(bp)
void cdstrategy(bp)
struct buf *bp;
{
struct buf *dp;

View File

@ -1,5 +1,5 @@
/*
* $Id: cddefs.h,v 1.3 1993/05/20 03:46:20 cgd Exp $
* $Id: cddefs.h,v 1.4 1994/01/11 17:22:00 mycroft Exp $
*/
struct cd_data {
@ -28,7 +28,7 @@ int cdopen(dev_t);
struct scsi_xfer * cd_get_xs(int, int);
void cd_free_xs(int, struct scsi_xfer *, int);
void cdminphys(struct buf *);
int cdstrategy(struct buf *);
void cdstrategy(struct buf *);
void cdstart(int);
int cd_done(int, struct scsi_xfer *);
int cdioctl(dev_t, int, caddr_t, int);

View File

@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: sd.c,v 1.19 1993/12/17 08:50:56 mycroft Exp $
* $Id: sd.c,v 1.20 1994/01/11 17:22:02 mycroft Exp $
*/
#include "sd.h"
@ -339,7 +339,7 @@ sdminphys(struct buf *bp)
* The transfer is described by a buf and will include
* only one physical transfer.
*/
int
void
sdstrategy(struct buf *bp)
{
struct sd_data *sd;

View File

@ -1,5 +1,5 @@
/*
* $Id: sddefs.h,v 1.4 1993/05/20 23:14:22 deraadt Exp $
* $Id: sddefs.h,v 1.5 1994/01/11 17:22:04 mycroft Exp $
*/
struct sd_data {
@ -41,7 +41,7 @@ int sdopen(int);
struct scsi_xfer *sd_get_xs(int, int);
void sd_free_xs(int, struct scsi_xfer *, int);
void sdminphys(struct buf *);
int sdstrategy(struct buf *);
void sdstrategy(struct buf *);
void sdstart(int);
int sd_done(int, struct scsi_xfer *);
int sdioctl(dev_t, int, caddr_t, int);

View File

@ -13,7 +13,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
* $Id: st.c,v 1.17 1993/12/17 08:51:06 mycroft Exp $
* $Id: st.c,v 1.18 1994/01/11 17:22:06 mycroft Exp $
*/
/*
@ -318,7 +318,7 @@ stminphys(struct buf *bp)
* The transfer is described by a buf and will include
* only one physical transfer.
*/
int
void
ststrategy(struct buf *bp)
{
struct st_data *st;

View File

@ -1,5 +1,5 @@
/*
* $Id: stdefs.h,v 1.3 1993/05/20 03:46:55 cgd Exp $
* $Id: stdefs.h,v 1.4 1994/01/11 17:22:08 mycroft Exp $
*/
#define STQSIZE 4
@ -35,7 +35,7 @@ int stattach(int, struct scsi_switch *, int, int *);
int stopen(dev_t);
int stclose(dev_t);
void stminphys(struct buf *);
int ststrategy(struct buf *);
void ststrategy(struct buf *);
int ststart(int);
int st_done(int, struct scsi_xfer *);
int stioctl(dev_t, int, caddr_t, int);