Fortran: make some match* functions static
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Sun, 24 Oct 2021 19:05:35 +0000 (21:05 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 27 Oct 2021 19:21:58 +0000 (21:21 +0200)
commit28b3a7788eece202f05614dd64b8e1d0f4b766a2
treea3e0634ad73e37e7780615979de2b5fdc6fd35b7
parentfd39c4bf5568bf3b71a2c547304795bd947b8efd
Fortran: make some match* functions static

gfc_match_small_int_expr was unused, delete it.
gfc_match_gcc_unroll should use gfc_match_small_literal_int and then
gfc_match_small_int can be deleted since it will be unused.

gcc/fortran/ChangeLog:

* decl.c (gfc_match_old_kind_spec, set_com_block_bind_c,
set_verify_bind_c_sym, set_verify_bind_c_com_block,
get_bind_c_idents, gfc_match_suffix, gfc_get_type_attr_spec,
check_extended_derived_type): Make static.
(gfc_match_gcc_unroll): Add comment.
* match.c (gfc_match_small_int_expr): Delete definition.
* match.h (gfc_match_small_int_expr): Delete declaration.
(gfc_match_name_C, gfc_match_old_kind_spec, set_com_block_bind_c,
set_verify_bind_c_sym, set_verify_bind_c_com_block,
get_bind_c_idents, gfc_match_suffix,
gfc_get_type_attr_spec): Delete declaration.
gcc/fortran/decl.c
gcc/fortran/match.c
gcc/fortran/match.h