OSDN Git Service

Remove bogus patch.
[pf3gnuchains/gcc-fork.git] / gcc / sbitmap.c
index e3f9a9f..eb1bf5a 100644 (file)
@@ -96,8 +96,7 @@ void
 sbitmap_copy (dst, src)
      sbitmap dst, src;
 {
-  bcopy ((PTR) src->elms, (PTR) dst->elms,
-        sizeof (SBITMAP_ELT_TYPE) * dst->size);
+  memcpy (dst->elms, src->elms, sizeof (SBITMAP_ELT_TYPE) * dst->size);
 }
 
 /* Zero all elements in a bitmap.  */
@@ -106,7 +105,7 @@ void
 sbitmap_zero (bmap)
      sbitmap bmap;
 {
-  bzero ((PTR) bmap->elms, bmap->bytes);
+  memset ((PTR) bmap->elms, 0, bmap->bytes);
 }
 
 /* Set all elements in a bitmap to ones.  */