diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2009-06-20 20:20:44 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2009-06-20 20:20:44 +0000 |
commit | a005f0130e8155f01a706f61d4362109cd47bc21 (patch) | |
tree | e9d231ebbb7b02b67b0036fe7ba33ea730aa3e24 /lib/libkvm/kvm_m68k.c | |
parent | 4402975a348938d8cad34341962b18854da39d93 (diff) |
Move KREAD define to kvm_private.h
Diffstat (limited to 'lib/libkvm/kvm_m68k.c')
-rw-r--r-- | lib/libkvm/kvm_m68k.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libkvm/kvm_m68k.c b/lib/libkvm/kvm_m68k.c index 0f774dbbbce..f677789b092 100644 --- a/lib/libkvm/kvm_m68k.c +++ b/lib/libkvm/kvm_m68k.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_m68k.c,v 1.17 2006/06/12 18:00:08 miod Exp $ */ +/* $OpenBSD: kvm_m68k.c,v 1.18 2009/06/20 20:20:43 millert Exp $ */ /* $NetBSD: kvm_m68k.c,v 1.9 1996/05/07 06:09:11 leo Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)kvm_hp300.c 8.1 (Berkeley) 6/4/93"; #else -static char *rcsid = "$OpenBSD: kvm_m68k.c,v 1.17 2006/06/12 18:00:08 miod Exp $"; +static char *rcsid = "$OpenBSD: kvm_m68k.c,v 1.18 2009/06/20 20:20:43 millert Exp $"; #endif #endif /* LIBC_SCCS and not lint */ @@ -79,9 +79,6 @@ static char *rcsid = "$OpenBSD: kvm_m68k.c,v 1.17 2006/06/12 18:00:08 miod Exp $ #define ptob(x) ((caddr_t)((x) << PGSHIFT)) /* XXX */ #endif -#define KREAD(kd, addr, p)\ - (kvm_read(kd, addr, (char *)(p), sizeof(*(p))) != sizeof(*(p))) - void _kvm_freevtop(kvm_t *kd) { |