summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_aio.c
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>1999-01-29 23:18:50 +0000
committerdillon <dillon@FreeBSD.org>1999-01-29 23:18:50 +0000
commita784c6e33d7c94f709bd5f0598ee883c076c987d (patch)
tree6a2276aaa3c3b53f9e242fdbe494571370dbe900 /sys/kern/vfs_aio.c
parent072a211f3573aae83ee729df53b1c57d9f3e80cc (diff)
downloadFreeBSD-src-a784c6e33d7c94f709bd5f0598ee883c076c987d.zip
FreeBSD-src-a784c6e33d7c94f709bd5f0598ee883c076c987d.tar.gz
More const fixes for -Wall, -Wcast-qual
Diffstat (limited to 'sys/kern/vfs_aio.c')
-rw-r--r--sys/kern/vfs_aio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_aio.c b/sys/kern/vfs_aio.c
index b6178df..33cf33c 100644
--- a/sys/kern/vfs_aio.c
+++ b/sys/kern/vfs_aio.c
@@ -13,7 +13,7 @@
* bad that happens because of using this software isn't the responsibility
* of the author. This software is distributed AS-IS.
*
- * $Id: vfs_aio.c,v 1.40 1999/01/28 17:32:00 dillon Exp $
+ * $Id: vfs_aio.c,v 1.41 1999/01/29 08:29:04 bde Exp $
*/
/*
@@ -235,7 +235,7 @@ static int aio_aqueue(struct proc *p, struct aiocb *job, int type) ;
static void aio_physwakeup(struct buf *bp);
static int aio_fphysio(struct proc *p, struct aiocblist *aiocbe, int type);
static int aio_qphysio(struct proc *p, struct aiocblist *iocb);
-static void aio_daemon(void *uproc);
+static void aio_daemon(const void *uproc);
SYSINIT(aio, SI_SUB_VFS, SI_ORDER_ANY, aio_onceonly, NULL);
@@ -602,7 +602,7 @@ aio_process(struct aiocblist *aiocbe)
* but the setup (and address space mgmt) is done in this routine.
*/
static void
-aio_daemon(void *uproc)
+aio_daemon(const void *uproc)
{
int s;
struct aioproclist *aiop;
OpenPOWER on IntegriCloud