diff options
| author | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2007-03-04 05:59:00 +0000 |
| commit | 53524e44efd7c7176da8dc8190a698b2fe184db1 (patch) | |
| tree | 68b6fb4aee85c3eb0a522cc199c3a3427938828e /sys/arch/atari/dev/clock.c | |
| parent | 1b20cebad5f8d3582a41d5599641a95247721732 (diff) | |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
Diffstat (limited to 'sys/arch/atari/dev/clock.c')
| -rw-r--r-- | sys/arch/atari/dev/clock.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/atari/dev/clock.c b/sys/arch/atari/dev/clock.c index fd54d89dbf4..f13e504d50c 100644 --- a/sys/arch/atari/dev/clock.c +++ b/sys/arch/atari/dev/clock.c @@ -1,4 +1,4 @@ -/* $NetBSD: clock.c,v 1.37 2005/12/24 20:06:58 perry Exp $ */ +/* $NetBSD: clock.c,v 1.38 2007/03/04 05:59:40 christos Exp $ */ /* * Copyright (c) 1982, 1990 The Regents of the University of California. @@ -77,7 +77,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.37 2005/12/24 20:06:58 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: clock.c,v 1.38 2007/03/04 05:59:40 christos Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -376,7 +376,7 @@ int n; * Assumes it is called with clock interrupts blocked. */ profclock(pc, ps) - caddr_t pc; + void *pc; int ps; { /* @@ -564,7 +564,7 @@ rtcread(dev, uio, flags) if (length > uio->uio_resid) length = uio->uio_resid; - return(uiomove((caddr_t)buffer, length, uio)); + return(uiomove((void *)buffer, length, uio)); } static int @@ -599,7 +599,7 @@ rtcwrite(dev, uio, flags) && length != sizeof(buffer - 1))) return(EINVAL); - if ((error = uiomove((caddr_t)buffer, sizeof(buffer), uio))) + if ((error = uiomove((void *)buffer, sizeof(buffer), uio))) return(error); if (length == sizeof(buffer) && buffer[sizeof(buffer) - 1] != '\n') |
