Removed some warnings.

This commit is contained in:
ragge 1995-11-10 19:09:56 +00:00
parent 42edf9d2b4
commit c9be4b2e09
2 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,4 @@
/* $NetBSD: mscp.c,v 1.4 1995/07/05 08:31:38 ragge Exp $ */ /* $NetBSD: mscp.c,v 1.5 1995/11/10 19:09:56 ragge Exp $ */
/* /*
* Copyright (c) 1988 Regents of the University of California. * Copyright (c) 1988 Regents of the University of California.
* All rights reserved. * All rights reserved.
@ -653,7 +652,7 @@ mscp_requeue(mi)
dp = &md->md_utab[minor(bp->b_dev) >> md->md_unitshift]; dp = &md->md_utab[minor(bp->b_dev) >> md->md_unitshift];
bp->b_actf = dp->b_actf; bp->b_actf = dp->b_actf;
if (dp->b_actf == NULL) if (dp->b_actf == NULL)
dp->b_actb = bp; dp->b_actb = (void *)bp;
dp->b_actf = bp; dp->b_actf = bp;
} }
mi->mi_wtab.b_actf = *mi->mi_wtab.b_actb = &mi->mi_wtab; mi->mi_wtab.b_actf = *mi->mi_wtab.b_actb = &mi->mi_wtab;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mscpvar.h,v 1.5 1995/07/05 08:34:01 ragge Exp $ */ /* $NetBSD: mscpvar.h,v 1.6 1995/11/10 19:09:58 ragge Exp $ */
/* /*
* Copyright (c) 1988 Regents of the University of California. * Copyright (c) 1988 Regents of the University of California.
@ -131,7 +131,7 @@ struct mscp_ri {
* been handed out; mi_wtab is that place. * been handed out; mi_wtab is that place.
*/ */
struct mscp_info { struct mscp_info {
volatile struct mscp_driver *mi_md; /* pointer to driver info */ struct mscp_driver *mi_md; /* pointer to driver info */
int mi_ctlr; /* controller index */ int mi_ctlr; /* controller index */
struct buf *mi_tab; /* pointer to ctlr's drive queue */ struct buf *mi_tab; /* pointer to ctlr's drive queue */
struct uba_device **mi_ip; /* pointer to inverting pointers */ struct uba_device **mi_ip; /* pointer to inverting pointers */