summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_base.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-03-28 07:58:53 +0000
committerbde <bde@FreeBSD.org>1995-03-28 07:58:53 +0000
commit4f64fe43e7186660d972f9eae509424f1addaa8a (patch)
treee153346dd5a88815c9c3e7f6748d7766c40a6b0d /sys/scsi/scsi_base.c
parent6ad7636d4a24ed5873a051888c579f5ef47677c4 (diff)
downloadFreeBSD-src-4f64fe43e7186660d972f9eae509424f1addaa8a.zip
FreeBSD-src-4f64fe43e7186660d972f9eae509424f1addaa8a.tar.gz
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) that I didn't notice when I fixed "all" such warnings before.
Diffstat (limited to 'sys/scsi/scsi_base.c')
-rw-r--r--sys/scsi/scsi_base.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/scsi_base.c b/sys/scsi/scsi_base.c
index 4cae78d..4b571e0 100644
--- a/sys/scsi/scsi_base.c
+++ b/sys/scsi/scsi_base.c
@@ -8,7 +8,7 @@
* file.
*
* Written by Julian Elischer (julian@dialix.oz.au)
- * $Id: scsi_base.c,v 1.23 1995/03/15 14:44:01 dufault Exp $
+ * $Id: scsi_base.c,v 1.24 1995/03/21 11:21:01 dufault Exp $
*/
#define SPLSD splbio
@@ -542,7 +542,8 @@ retry:
break;
}
#ifdef BOUNCE_BUFFERS
- vm_bounce_kva_alloc_free(xs->data, (datalen + PAGE_SIZE - 1)/PAGE_SIZE, 0);
+ vm_bounce_kva_alloc_free((vm_offset_t) xs->data,
+ (datalen + PAGE_SIZE - 1)/PAGE_SIZE);
#else
free(xs->data, M_TEMP);
#endif
OpenPOWER on IntegriCloud