aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-03-16 00:18:26 +0000
committerIan Lance Taylor <ian@airs.com>1997-03-16 00:18:26 +0000
commit1eb9fa9eba8fa6e76c5401ad0690701f04c2060c (patch)
tree67a0516c13cfa927ba3a04bdcd47045de464baba
parent18f7e3dc7f33dadb4f44259b95dad96785613e50 (diff)
downloadgdb-1eb9fa9eba8fa6e76c5401ad0690701f04c2060c.zip
gdb-1eb9fa9eba8fa6e76c5401ad0690701f04c2060c.tar.gz
gdb-1eb9fa9eba8fa6e76c5401ad0690701f04c2060c.tar.bz2
Sat Mar 15 19:17:31 1997 H.J. Lu <hjl@lucon.org>
* symtab.h (find_call): Declare. * cg_arcs.c (cg_assemble): Don't declare find_call. * hist.c (scale_and_align_entries): Declare.
-rw-r--r--gprof/ChangeLog6
-rw-r--r--gprof/cg_arcs.c3
-rw-r--r--gprof/hist.c2
-rw-r--r--gprof/symtab.h2
4 files changed, 11 insertions, 2 deletions
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 <hjl@lucon.org>
+
+ * 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 <ian@cygnus.com>
* 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 */