X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=gprof%2Fcall_graph.h;h=328731d6ed0811026f3d97a1cea1bd145633fa21;hb=8b8c7c9f49992750f66f81b4601d593a3858d98c;hp=be5139b758fee46ca0d2f88299820ccd91b9fc23;hpb=ed288bb597072176e84fc8279707a3f2f475779b;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/call_graph.h b/gprof/call_graph.h index be5139b758..328731d6ed 100644 --- a/gprof/call_graph.h +++ b/gprof/call_graph.h @@ -1,13 +1,29 @@ +/* call_graph.h + + Copyright (C) 2000-2016 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 3 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 */