X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Fcall_graph.h;h=cc4c296e90f31e2b1a38348b6e5db56cfae8fb33;hb=b4f261e094f4807a2da1dc62c7945e5898ed4680;hp=be5139b758fee46ca0d2f88299820ccd91b9fc23;hpb=dc9e099fc0eced486ae2b49455c9da113c11f4ff;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/call_graph.h b/gprof/call_graph.h index be5139b758..cc4c296e90 100644 --- a/gprof/call_graph.h +++ b/gprof/call_graph.h @@ -1,13 +1,28 @@ +/* call_graph.h + + Copyright 2000, 2001, 2002, 2004 Free Software Foundation, Inc. + +This file is part of GNU Binutils. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +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., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + #ifndef call_graph_h #define call_graph_h -#include -#include "gprof.h" -#include "symtab.h" - -extern void cg_tally PARAMS ((bfd_vma from_pc, bfd_vma self_pc, - unsigned long count)); -extern void cg_read_rec PARAMS ((FILE * ifp, const char *filename)); -extern void cg_write_arcs PARAMS ((FILE * ofp, const char *filename)); +extern void cg_tally (bfd_vma, bfd_vma, unsigned long); +extern void cg_read_rec (FILE *, const char *); +extern void cg_write_arcs (FILE *, const char *); #endif /* call_graph_h */