Message ID | 71aaea96-36bc-9599-7bdd-b0733a879253@suse.cz |
---|---|
State | New |
Headers | show |
Series | [OBVIOUS] Fix __gcov_exit fn prototype. | expand |
diff --git a/gcc/coverage.c b/gcc/coverage.c index 2cdbb0172c9..b2d853a0cd7 100644 --- a/gcc/coverage.c +++ b/gcc/coverage.c @@ -1071,8 +1071,7 @@ build_init_ctor (tree gcov_info_type) static void build_gcov_exit_decl (void) { - tree init_fn = build_function_type_list (void_type_node, void_type_node, - NULL); + tree init_fn = build_function_type_list (void_type_node, NULL); init_fn = build_decl (BUILTINS_LOCATION, FUNCTION_DECL, get_identifier ("__gcov_exit"), init_fn); TREE_PUBLIC (init_fn) = 1;