summaryrefslogtreecommitdiff
path: root/sys/dev/cons.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2007-03-04 05:59:00 +0000
committerchristos <christos@NetBSD.org>2007-03-04 05:59:00 +0000
commit53524e44efd7c7176da8dc8190a698b2fe184db1 (patch)
tree68b6fb4aee85c3eb0a522cc199c3a3427938828e /sys/dev/cons.c
parent1b20cebad5f8d3582a41d5599641a95247721732 (diff)
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Diffstat (limited to 'sys/dev/cons.c')
-rw-r--r--sys/dev/cons.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/cons.c b/sys/dev/cons.c
index 4026c8f0d40..f75272d1f59 100644
--- a/sys/dev/cons.c
+++ b/sys/dev/cons.c
@@ -1,4 +1,4 @@
-/* $NetBSD: cons.c,v 1.62 2007/02/09 21:55:26 ad Exp $ */
+/* $NetBSD: cons.c,v 1.63 2007/03/04 06:01:41 christos Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -78,7 +78,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.62 2007/02/09 21:55:26 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cons.c,v 1.63 2007/03/04 06:01:41 christos Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -228,7 +228,7 @@ cnwrite(dev_t dev, struct uio *uio, int flag)
}
int
-cnioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct lwp *l)
+cnioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l)
{
const struct cdevsw *cdev;
int error;