aboutsummaryrefslogtreecommitdiff
path: root/gprof/cg_print.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-04-13 18:30:46 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-04-20 07:04:49 -0400
commite6c7cdec063514bb9ffe2a62fb280e5ec676cac0 (patch)
tree262de0fe97cffbd611a1e549fc10803fee3012b7 /gprof/cg_print.c
parentb98e6871247e1ef764360f6d042254ce4af62ca4 (diff)
downloadgdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.zip
gdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.tar.gz
gdb-e6c7cdec063514bb9ffe2a62fb280e5ec676cac0.tar.bz2
update many old style function definitions
This includes regenerating a bunch of files in opcodes/ with trunk cgen. gprof/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * basic_blocks.c: Update old style function definitions. * cg_arcs.c: Likewise. * cg_print.c: Likewise. * gen-c-prog.awk: Likewise. * gmon_io.c: Likewise. * hertz.c: Likewise. * hist.c: Likewise. * sym_ids.c: Likewise. bfd/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * cache.c: Update old style function definitions. * elf32-m68k.c: Likewise. * elf64-mmix.c: Likewise. * stab-syms.c: Likewise. opcodes/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * alpha-dis.c: Regenerate. * crx-dis.c: Likewise. * disassemble.c: Likewise. * epiphany-opc.c: Likewise. * fr30-opc.c: Likewise. * frv-opc.c: Likewise. * ip2k-opc.c: Likewise. * iq2000-opc.c: Likewise. * lm32-opc.c: Likewise. * lm32-opinst.c: Likewise. * m32c-opc.c: Likewise. * m32r-opc.c: Likewise. * m32r-opinst.c: Likewise. * mep-opc.c: Likewise. * mt-opc.c: Likewise. * or1k-opc.c: Likewise. * or1k-opinst.c: Likewise. * tic80-opc.c: Likewise. * xc16x-opc.c: Likewise. * xstormy16-opc.c: Likewise. ld/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * emultempl/scoreelf.em: Likewise. binutils/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * resres.c: Likewise. gas/ChangeLog: 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * cgen.c: Likewise. * config/tc-bfin.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-mep.c: Likewise. * config/tc-metag.c: Likewise. * config/tc-nios2.c: Likewise. * config/tc-rl78.c: Likewise.
Diffstat (limited to 'gprof/cg_print.c')
-rw-r--r--gprof/cg_print.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/gprof/cg_print.c b/gprof/cg_print.c
index 30f445f..77a0c4c 100644
--- a/gprof/cg_print.c
+++ b/gprof/cg_print.c
@@ -61,7 +61,7 @@ double print_time = 0.0;
static void
-print_header ()
+print_header (void)
{
if (first_output)
first_output = FALSE;
@@ -561,7 +561,7 @@ cmp_name (const PTR left, const PTR right)
void
-cg_print_index ()
+cg_print_index (void)
{
unsigned int sym_index;
unsigned int nnames, todo, i, j;
@@ -984,13 +984,9 @@ cg_print_function_ordering (void)
#define MOST 0.99
static void
-order_and_dump_functions_by_arcs (the_arcs, arc_count, all,
- unplaced_arcs, unplaced_arc_count)
- Arc **the_arcs;
- unsigned long arc_count;
- int all;
- Arc **unplaced_arcs;
- unsigned long *unplaced_arc_count;
+order_and_dump_functions_by_arcs (Arc **the_arcs, unsigned long arc_count,
+ int all, Arc **unplaced_arcs,
+ unsigned long *unplaced_arc_count)
{
#ifdef __GNUC__
unsigned long long tmp_arcs, total_arcs;