X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gprof%2Fhist.c;h=55dc2007c4a39be086d7e2b579b50c70ca90cd7a;hb=708a2ffff5cc2d280968a6b28268d8276d391bb4;hp=d81ca269c494db882686719b705eabf11764c45e;hpb=6f2750feaf2827ef8a1a0a5b2f90c1e9a6cabbd1;p=deliverable%2Fbinutils-gdb.git diff --git a/gprof/hist.c b/gprof/hist.c index d81ca269c4..55dc2007c4 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -1,6 +1,6 @@ /* hist.c - Histogram related operations. - Copyright (C) 1999-2016 Free Software Foundation, Inc. + Copyright (C) 1999-2020 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -289,7 +289,7 @@ hist_write_hist (FILE * ofp, const char *filename) next bin. */ static void -scale_and_align_entries () +scale_and_align_entries (void) { Sym *sym; bfd_vma bin_of_entry; @@ -445,7 +445,7 @@ hist_assign_samples_1 (histogram *r) /* Calls 'hist_assign_sampes_1' for all histogram records read so far. */ void -hist_assign_samples () +hist_assign_samples (void) { unsigned i; @@ -562,7 +562,7 @@ cmp_time (const PTR lp, const PTR rp) /* Print the flat histogram profile. */ void -hist_print () +hist_print (void) { Sym **time_sorted_syms, *top_dog, *sym; unsigned int sym_index;