X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gprof%2Fcall_graph.h;h=98bc09d62ad7c3c8fa4f901f461426854f5b5827;hb=389fe8647555af73fca362bb066786b8cfe52761;hp=be5139b758fee46ca0d2f88299820ccd91b9fc23;hpb=27e232885db363fb545fd2f450e72d929e59b8f6;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/call_graph.h b/gprof/call_graph.h index be5139b758..98bc09d62a 100644 --- a/gprof/call_graph.h +++ b/gprof/call_graph.h @@ -1,13 +1,29 @@ +/* call_graph.h + + Copyright (C) 2000-2020 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 */