X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gprof%2Fbasic_blocks.h;h=69dba608ea7eb440d53ce2cf6e7bd9d2b9878f13;hb=e6c7cdec063514bb9ffe2a62fb280e5ec676cac0;hp=0e7070c6c8b57ae4c4c4f9f26be70d998ee0409b;hpb=5489fcc3d9dbb1f529dddb19b615e23d8ed59dc7;p=binutils-gdb.git diff --git a/gprof/basic_blocks.h b/gprof/basic_blocks.h index 0e7070c6c8b..69dba608ea7 100644 --- a/gprof/basic_blocks.h +++ b/gprof/basic_blocks.h @@ -1,23 +1,34 @@ -#ifndef basic_blocks_h -#define basic_blocks_h +/* basic_blocks.h + Copyright (C) 2000-2016 Free Software Foundation, Inc. + + This file is part of GNU Binutils. -#include -#include "gprof.h" -#include "source.h" -#include "symtab.h" + 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. -/* - * Options: - */ -extern bool bb_annotate_all_lines; /* force annotation of all lines? */ -extern int bb_table_length; /* length of most-used bb table */ -extern int bb_min_calls; /* minimum execution count */ + 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. -extern void bb_read_rec PARAMS((FILE *ifp, const char *filename)); -extern void bb_write_blocks PARAMS((FILE *ofp, const char *filename)); -extern void bb_create_syms PARAMS((void)); + 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 basic_blocks_h +#define basic_blocks_h -extern void print_annotated_source PARAMS((void)); -extern void print_exec_counts PARAMS((void)); +/* Options: */ +extern bfd_boolean bb_annotate_all_lines; /* Force annotation of all lines? */ +extern int bb_table_length; /* Length of most-used bb table. */ +extern unsigned long bb_min_calls; /* Minimum execution count. */ +extern void bb_read_rec (FILE *, const char *); +extern void bb_write_blocks (FILE *, const char *); +extern void bb_create_syms (void); +extern void print_annotated_source (void); +extern void print_exec_counts (void); #endif /* basic_blocks_h */