commit 1973d61e282fe433531aa3bb649c688e3085e54f
parent e19b8b2fd60830f505ea176fae6b53fcc4204723
Author: ukai <ukai>
Date: Tue, 25 Dec 2001 16:19:28 +0000
[w3m-dev 02725] bcopy, bzero
From: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
Diffstat:
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -5,6 +5,8 @@
* etc.c (bzero): deleted
* indep.c (bcopy): added
* indep.c (bzero): added
+ * indep.c (bcopy): src should be const
+ * fm.h (bcopy): ditto
2001-12-25 Kazuhiko <kazuhiko@archi.kyoto-u.ac.jp>
diff --git a/fm.h b/fm.h
@@ -47,7 +47,7 @@
#include "terms.h"
#ifndef HAVE_BCOPY
-void bcopy(void *, void *, int);
+void bcopy(const void *, void *, int);
void bzero(void *, int);
#endif /* HAVE_BCOPY */
#ifdef __EMX__
diff --git a/indep.c b/indep.c
@@ -13,7 +13,7 @@
#ifndef HAVE_BCOPY
void
-bcopy(void *src, void *dest, int len)
+bcopy(const void *src, void *dest, int len)
{
int i;
if (src == dest)