]> gcc.gnu.org Git - gcc.git/commitdiff
objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to c_write_global_declarations.
authorZack Weinberg <zack@codesourcery.com>
Thu, 17 Jul 2003 21:05:24 +0000 (21:05 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Thu, 17 Jul 2003 21:05:24 +0000 (21:05 +0000)
* objc/objc-lang.c: Override LANG_HOOKS_WRITE_GLOBALS to
c_write_global_declarations.

From-SVN: r69525

gcc/ChangeLog
gcc/objc/objc-lang.c

index 91cbc781dfa984c2242e59b158b73878c5a5deb3..3540c57b98d4585c96f4bab1e2cfe0b0d0c4b9ee 100644 (file)
@@ -6,6 +6,9 @@
 
 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
        #if 0 blocks; reindent as needed.  Remove unused argument
        to declare_parm_level; all callers changed.
index 19a1bacae4c185e5efb69a2ea4eb41e3c0d0d034..08825dd4203ebb0584a6df47b1378ecfd653366d 100644 (file)
@@ -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;
 
This page took 0.067997 seconds and 5 git commands to generate.