From: Ian Lance Taylor Date: Sun, 16 Mar 1997 00:18:26 +0000 (+0000) Subject: Sat Mar 15 19:17:31 1997 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1eb9fa9eba8fa6e76c5401ad0690701f04c2060c;p=binutils-gdb.git 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. --- diff --git a/gprof/ChangeLog b/gprof/ChangeLog index ab53b47384b..7a9c150e451 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 b63102948b0..196e3568d9a 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 717424d5791..2b2dceb817b 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 304e6b5c020..9b1a531c2a5 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 */