* core.c (core_create_function_syms): Move filename and func_name
[external/binutils.git] / gprof / cg_arcs.c
index c6431e4..b631029 100644 (file)
@@ -106,7 +106,7 @@ DEFUN (arc_add, (parent, child, count),
          newarcs = (Arc **)xmalloc(sizeof (Arc *) * maxarcs);
 
          /* Copy the old array's contents into the new array.  */
-         bcopy (arcs, newarcs, numarcs * sizeof (Arc *));
+         memcpy (newarcs, arcs, numarcs * sizeof (Arc *));
 
          /* Free up the old array.  */
          free (arcs);