X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Fcall_graph.h;h=98bc09d62ad7c3c8fa4f901f461426854f5b5827;hb=17fc27167f678285d2f64040837b8cc41b6a664a;hp=6e9413ad0a6fc678edb567affe6a0380bf40d633;hpb=fa803dc60f0bf01297674c41d001798e18ade4dc;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/call_graph.h b/gprof/call_graph.h index 6e9413ad0a..98bc09d62a 100644 --- a/gprof/call_graph.h +++ b/gprof/call_graph.h @@ -1,12 +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, int 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 */