diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-17 21:05:24 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-17 21:05:24 +0000 |
commit | 12427141d6108bfe3c6c3df04cb295212e76b808 (patch) | |
tree | 274448be97272217ee5c154a4e46d945f5a88d94 /gcc/objc/objc-lang.c | |
parent | 57fd93360bd29ca53fbb4036ec3d10aea863cc24 (diff) | |
download | gcc-12427141d6108bfe3c6c3df04cb295212e76b808.tar.gz |
* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
c_write_global_declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-lang.c')
-rw-r--r-- | gcc/objc/objc-lang.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/objc/objc-lang.c b/gcc/objc/objc-lang.c index 19a1bacae4c..08825dd4203 100644 --- a/gcc/objc/objc-lang.c +++ b/gcc/objc/objc-lang.c @@ -125,6 +125,9 @@ enum c_language_kind c_language = clk_objc; #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 + /* Each front end provides its own hooks, for toplev.c. */ const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; |