Commit 36c6d174 by Zack Weinberg Committed by Zack Weinberg

objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to c_write_global_declarations.

	* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
	c_write_global_declarations.

From-SVN: r69525
parent 6ec3f553
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
2003-07-17 Zack Weinberg <zack@codesourcery.com> 2003-07-17 Zack Weinberg <zack@codesourcery.com>
* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
c_write_global_declarations.
* c-decl.c: Fix typos in several comments. Remove all * c-decl.c: Fix typos in several comments. Remove all
#if 0 blocks; reindent as needed. Remove unused argument #if 0 blocks; reindent as needed. Remove unused argument
to declare_parm_level; all callers changed. to declare_parm_level; all callers changed.
......
...@@ -125,6 +125,9 @@ enum c_language_kind c_language = clk_objc; ...@@ -125,6 +125,9 @@ enum c_language_kind c_language = clk_objc;
#undef LANG_HOOKS_TYPE_PROMOTES_TO #undef LANG_HOOKS_TYPE_PROMOTES_TO
#define LANG_HOOKS_TYPE_PROMOTES_TO c_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. */ /* Each front end provides its own hooks, for toplev.c. */
const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER; const struct lang_hooks lang_hooks = LANG_HOOKS_INITIALIZER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment