Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/stand/common bcopy() -> memmove()
details: https://anonhg.NetBSD.org/src/rev/43b6a0add89b
branches: trunk
changeset: 761887:43b6a0add89b
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Feb 10 10:52:01 2011 +0000
description:
bcopy() -> memmove()
How did this one survive several sweeps?
diffstat:
sys/arch/hp300/stand/common/itevar.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r c8553cf1e67e -r 43b6a0add89b sys/arch/hp300/stand/common/itevar.h
--- a/sys/arch/hp300/stand/common/itevar.h Thu Feb 10 10:44:22 2011 +0000
+++ b/sys/arch/hp300/stand/common/itevar.h Thu Feb 10 10:52:01 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: itevar.h,v 1.9 2011/02/10 10:44:23 tsutsui Exp $ */
+/* $NetBSD: itevar.h,v 1.10 2011/02/10 10:52:01 tsutsui Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -99,9 +99,9 @@
memset(ip->attrbuf + ((sy) * ip->cols) + (sx), 0, (h) * (w))
#define attrmov(ip, sy, sx, dy, dx, h, w) \
- bcopy(ip->attrbuf + ((sy) * ip->cols) + (sx), \
- ip->attrbuf + ((dy) * ip->cols) + (dx), \
- (h) * (w))
+ memmove(ip->attrbuf + ((dy) * ip->cols) + (dx), \
+ ip->attrbuf + ((sy) * ip->cols) + (sx), \
+ (h) * (w))
#define attrtest(ip, attr) \
((* (u_char *) attrloc(ip, ip->cury, ip->curx)) & attr)
Home |
Main Index |
Thread Index |
Old Index