From 1eb9fa9eba8fa6e76c5401ad0690701f04c2060c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 16 Mar 1997 00:18:26 +0000 Subject: Sat Mar 15 19:17:31 1997 H.J. Lu * symtab.h (find_call): Declare. * cg_arcs.c (cg_assemble): Don't declare find_call. * hist.c (scale_and_align_entries): Declare. --- gprof/ChangeLog | 6 ++++++ gprof/cg_arcs.c | 3 +-- gprof/hist.c | 2 ++ gprof/symtab.h | 2 ++ 4 files changed, 11 insertions(+), 2 deletions(-) (limited to 'gprof') diff --git a/gprof/ChangeLog b/gprof/ChangeLog index ab53b47..7a9c150 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +Sat Mar 15 19:17:31 1997 H.J. Lu + + * symtab.h (find_call): Declare. + * cg_arcs.c (cg_assemble): Don't declare find_call. + * hist.c (scale_and_align_entries): Declare. + Thu Feb 27 12:46:53 1997 Ian Lance Taylor * configure.in: Define BSD44_FORMAT if the target looks like a diff --git a/gprof/cg_arcs.c b/gprof/cg_arcs.c index b631029..196e356 100644 --- a/gprof/cg_arcs.c +++ b/gprof/cg_arcs.c @@ -576,8 +576,7 @@ DEFUN_VOID (cg_assemble) Sym *parent, **time_sorted_syms, **top_sorted_syms; long index; Arc *arc; - extern void find_call PARAMS ((Sym * parent, - bfd_vma p_lowpc, bfd_vma p_highpc)); + /* * initialize various things: * zero out child times. diff --git a/gprof/hist.c b/gprof/hist.c index 717424d..2b2dceb 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -12,6 +12,8 @@ #include "sym_ids.h" #include "utils.h" +static void scale_and_align_entries PARAMS ((void)); + /* declarations of automatically generated functions to output blurbs: */ extern void flat_blurb PARAMS ((FILE * fp)); diff --git a/gprof/symtab.h b/gprof/symtab.h index 304e6b5..9b1a531 100644 --- a/gprof/symtab.h +++ b/gprof/symtab.h @@ -102,4 +102,6 @@ extern void sym_init PARAMS ((Sym * sym)); extern void symtab_finalize PARAMS ((Sym_Table * symtab)); extern Sym *sym_lookup PARAMS ((Sym_Table * symtab, bfd_vma address)); +extern void find_call PARAMS ((Sym *, bfd_vma, bfd_vma)); + #endif /* symtab_h */ -- cgit v1.1