Fix a decl to match the calls to it.

* trans-decl.c (gfc_build_builtin_function_decls): Correct number of
	arguments to caf_init.

From-SVN: r211131
This commit is contained in:
Bernd Schmidt 2014-06-02 12:06:20 +00:00 committed by Bernd Schmidt
parent 4a1f940f68
commit 242d4d3fdd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-06-02 Bernd Schmidt <bernds@codesourcery.com>
* trans-decl.c (gfc_build_builtin_function_decls): Correct number of
arguments to caf_init.
2014-05-26 Tobias Burnus <burnus@net-b.de>
* gfortran.texi (Project Status): Fix broken link.

View File

@ -3260,7 +3260,7 @@ gfc_build_builtin_function_decls (void)
gfor_fndecl_caf_init = gfc_build_library_function_decl (
get_identifier (PREFIX("caf_init")), void_type_node,
4, pint_type, pppchar_type, pint_type, pint_type);
2, pint_type, pppchar_type);
gfor_fndecl_caf_finalize = gfc_build_library_function_decl (
get_identifier (PREFIX("caf_finalize")), void_type_node, 0);