From 33ea6b6999931f9c8ed335f4e763cef78a6a47a6 Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 23 Apr 1995 07:39:21 +0000 Subject: Declare wakeup() non-implicitly and don't bogusly cast its arg. --- sys/scsi/worm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/scsi/worm.c') diff --git a/sys/scsi/worm.c b/sys/scsi/worm.c index df83572..3df3cce 100644 --- a/sys/scsi/worm.c +++ b/sys/scsi/worm.c @@ -37,7 +37,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: worm.c,v 1.1 1995/03/04 20:51:10 dufault Exp $ + * $Id: worm.c,v 1.2 1995/03/15 14:22:12 dufault Exp $ */ /* XXX This is PRELIMINARY. @@ -54,6 +54,7 @@ #include #include #include +#include #include #include #include @@ -198,7 +199,7 @@ wormstart(unit) /* if a special awaits, let it proceed first */ if (sc_link->flags & SDEV_WAITING) { sc_link->flags &= ~SDEV_WAITING; - wakeup((caddr_t)sc_link); + wakeup(sc_link); return; } if ((bp = worm->buf_queue) == NULL) { -- cgit v1.1