[OBVIOUS] Fix function signature in header file.

Message ID 1eda403a-6e4c-c583-9fe8-8c95d348b74d@suse.cz
State New
Headers show
Series
  • [OBVIOUS] Fix function signature in header file.
Related show

Commit Message

Martin Liška June 8, 2018, 1:43 p.m.
Hi.

One obvious fix. The function is unused, thus no compilation errors was spotted.

I'm going to install the patch.
Martin

gcc/ChangeLog:

2018-06-08  Martin Liska  <mliska@suse.cz>

	* tree-cfg.h (debug_function): Fix argument type to match
        implementation.
---
 gcc/tree-cfg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/gcc/tree-cfg.h b/gcc/tree-cfg.h
index 73237a604be..9491bb45feb 100644
--- a/gcc/tree-cfg.h
+++ b/gcc/tree-cfg.h
@@ -81,7 +81,7 @@  extern void fold_loop_internal_call (gimple *, tree);
 extern basic_block move_sese_region_to_fn (struct function *, basic_block,
 				           basic_block, tree);
 extern void dump_function_to_file (tree, FILE *, dump_flags_t);
-extern void debug_function (tree, int) ;
+extern void debug_function (tree, dump_flags_t);
 extern void print_loops_bb (FILE *, basic_block, int, int);
 extern void print_loops (FILE *, int);
 extern void debug (struct loop &ref);