---
 gcc/ipa-ref.h        | 2 +-
 gcc/ipa-visibility.c | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/gcc/ipa-ref.h b/gcc/ipa-ref.h
index 95e29605548..9ff26e2693c 100644
--- a/gcc/ipa-ref.h
+++ b/gcc/ipa-ref.h
@@ -139,5 +139,5 @@ public:

 const char *
 stringify_ipa_ref_use (const ipa_ref_use use);
-
+bool cgraph_externally_visible_p (struct cgraph_node *, bool);
 #endif /* GCC_IPA_REF_H */
diff --git a/gcc/ipa-visibility.c b/gcc/ipa-visibility.c
index 7c854f471e8..8397cc9d61d 100644
--- a/gcc/ipa-visibility.c
+++ b/gcc/ipa-visibility.c
@@ -186,9 +186,8 @@ comdat_can_be_unshared_p (symtab_node *node)

/* Return true when function NODE should be considered externally visible. */

-static bool
-cgraph_externally_visible_p (struct cgraph_node *node,
-                            bool whole_program)
+bool
+cgraph_externally_visible_p (struct cgraph_node *node, bool whole_program)
 {
   while (node->transparent_alias && node->definition)
     node = node->get_alias_target ();
--
2.18.1

Reply via email to