Fortran: make some constructor* functions static
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Sun, 24 Oct 2021 19:22:11 +0000 (21:22 +0200)
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>
Wed, 27 Oct 2021 19:23:44 +0000 (21:23 +0200)
commite90e0301d575ee299dc823be8c489ee6248057ff
tree30b13a3362846273be21df86137081fbcf6a310a
parent28b3a7788eece202f05614dd64b8e1d0f4b766a2
Fortran: make some constructor* functions static

gfc_constructor_expr_foreach and gfc_constructor_swap were just stubs.

gcc/fortran/ChangeLog:

* constructor.c (gfc_constructor_get_base): Make static.
(gfc_constructor_expr_foreach, gfc_constructor_swap): Delete.
* constructor.h (gfc_constructor_get_base): Remove declaration.
(gfc_constructor_expr_foreach, gfc_constructor_swap): Delete.
gcc/fortran/constructor.c
gcc/fortran/constructor.h