From 87926b4bcc3046ac85fabda09178e9bf50dd8381 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 13 Feb 2016 02:16:07 -0800 Subject: remove use of strings.h --- gcc/sbitmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/sbitmap.c') diff --git a/gcc/sbitmap.c b/gcc/sbitmap.c index db47d32..de260ad 100755 --- a/gcc/sbitmap.c +++ b/gcc/sbitmap.c @@ -96,7 +96,7 @@ void sbitmap_copy (dst, src) sbitmap dst, src; { - bcopy (src->elms, dst->elms, sizeof (SBITMAP_ELT_TYPE) * dst->size); + copy_memory (src->elms, dst->elms, sizeof (SBITMAP_ELT_TYPE) * dst->size); } /* Zero all elements in a bitmap. */ @@ -105,7 +105,7 @@ void sbitmap_zero (bmap) sbitmap bmap; { - bzero ((char *) bmap->elms, bmap->bytes); + zero_memory ((char *) bmap->elms, bmap->bytes); } /* Set to ones all elements in a bitmap. */ -- cgit v1.2.3