summaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 815a72f1a20..fcf03dfba99 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -125,6 +125,9 @@ enum c_language_kind c_language = clk_c;
#undef LANG_HOOKS_TYPE_PROMOTES_TO
#define LANG_HOOKS_TYPE_PROMOTES_TO c_type_promotes_to
+#undef LANG_HOOKS_WRITE_GLOBALS
+#define LANG_HOOKS_WRITE_GLOBALS c_write_global_declarations
+
/* ### When changing hooks, consider if ObjC needs changing too!! ### */
/* Each front end provides its own. */