Module Name: src
Committed By: tsutsui
Date: Thu Feb 10 10:52:01 UTC 2011
Modified Files:
src/sys/arch/hp300/stand/common: itevar.h
Log Message:
bcopy() -> memmove()
How did this one survive several sweeps?
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/arch/hp300/stand/common/itevar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hp300/stand/common/itevar.h
diff -u src/sys/arch/hp300/stand/common/itevar.h:1.9 src/sys/arch/hp300/stand/common/itevar.h:1.10
--- src/sys/arch/hp300/stand/common/itevar.h:1.9 Thu Feb 10 10:44:23 2011
+++ src/sys/arch/hp300/stand/common/itevar.h Thu Feb 10 10:52:01 2011
@@ -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)