diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-03-21 22:21:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-03-21 22:21:30 +0000 |
commit | df928c8f28aab3867ae2283c7425d1a9480c20a1 (patch) | |
tree | 7c77c1b9f94d47f904a2803011539e4a7925bb89 /gprof/cg_arcs.c | |
parent | 0f579087abbd52ef11e1c0dc0236e0393ccfaba0 (diff) | |
download | gdb-df928c8f28aab3867ae2283c7425d1a9480c20a1.zip gdb-df928c8f28aab3867ae2283c7425d1a9480c20a1.tar.gz gdb-df928c8f28aab3867ae2283c7425d1a9480c20a1.tar.bz2 |
* core.c (core_create_function_syms): Move filename and func_name
inside ifdef where they are used.
* core.c (core_sym_class): Parenthesize && within ||.
* symtab.c (symtab_finalize): Correct parenthesization.
* cg_print.h (cg_print_file_ordering): Declare.
(cg_print_function_ordering): Declare.
* __bb_exit_func.c (__bb_exit_func): Replace bcopy with memcpy.
* cg_arcs.c (arc_add): Likewise.
* cg_print.c (cg_print_function_ordering): Likewise.
Diffstat (limited to 'gprof/cg_arcs.c')
-rw-r--r-- | gprof/cg_arcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/cg_arcs.c b/gprof/cg_arcs.c index c6431e4..b631029 100644 --- a/gprof/cg_arcs.c +++ b/gprof/cg_arcs.c @@ -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); |