summaryrefslogtreecommitdiff
path: root/gprof/call_graph.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-10-19 21:13:25 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-10-19 21:13:25 +0000
commit7a815afd9b5121ee0f65dc1e1de1c0de6de97679 (patch)
treef61b968a46c92e81f6de581582cb064bf9dca27d /gprof/call_graph.c
parent42f6b9ffef1927d55d15075d9e810435c590c404 (diff)
Notes
Diffstat (limited to 'gprof/call_graph.c')
-rw-r--r--gprof/call_graph.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/gprof/call_graph.c b/gprof/call_graph.c
index e798a0e18975..1ec15bf98416 100644
--- a/gprof/call_graph.c
+++ b/gprof/call_graph.c
@@ -1,6 +1,6 @@
/* call_graph.c - Create call graphs.
- Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Binutils.
@@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA. */
+ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
#include "gprof.h"
#include "search_list.h"
@@ -31,10 +31,7 @@
#include "sym_ids.h"
void
-cg_tally (from_pc, self_pc, count)
- bfd_vma from_pc;
- bfd_vma self_pc;
- unsigned long count;
+cg_tally (bfd_vma from_pc, bfd_vma self_pc, unsigned long count)
{
Sym *parent;
Sym *child;
@@ -80,9 +77,7 @@ cg_tally (from_pc, self_pc, count)
for formatting error-messages only. */
void
-cg_read_rec (ifp, filename)
- FILE *ifp;
- const char *filename;
+cg_read_rec (FILE *ifp, const char *filename)
{
bfd_vma from_pc, self_pc;
unsigned int count;
@@ -109,9 +104,7 @@ cg_read_rec (ifp, filename)
only. */
void
-cg_write_arcs (ofp, filename)
- FILE *ofp;
- const char *filename;
+cg_write_arcs (FILE *ofp, const char *filename)
{
Arc *arc;
Sym *sym;