diff options
author | kan <kan@FreeBSD.org> | 2002-09-01 20:38:57 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2002-09-01 20:38:57 +0000 |
commit | 96f278c475ea0af943029cb462e8f54296c55c4e (patch) | |
tree | 1b750fa298f82e35b2aae7c51814612c3a6fd47a /contrib/gcc/objc | |
parent | be17b12cb696a0d3f7deed6d1b2201b472b6f85c (diff) | |
parent | 2e25f3a6c57335cba50111faceb0ce2ab59e9bcb (diff) | |
download | FreeBSD-src-96f278c475ea0af943029cb462e8f54296c55c4e.zip FreeBSD-src-96f278c475ea0af943029cb462e8f54296c55c4e.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r102780,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/gcc/objc')
-rw-r--r-- | contrib/gcc/objc/Make-lang.in | 2 | ||||
-rw-r--r-- | contrib/gcc/objc/objc-lang.c | 21 |
2 files changed, 8 insertions, 15 deletions
diff --git a/contrib/gcc/objc/Make-lang.in b/contrib/gcc/objc/Make-lang.in index bc5f709..379a16c 100644 --- a/contrib/gcc/objc/Make-lang.in +++ b/contrib/gcc/objc/Make-lang.in @@ -93,7 +93,7 @@ objc-act.o : $(srcdir)/objc/objc-act.c \ $(srcdir)/c-tree.h $(srcdir)/c-common.h $(srcdir)/c-lex.h \ $(srcdir)/toplev.h $(srcdir)/flags.h $(srcdir)/objc/objc-act.h \ $(srcdir)/input.h $(srcdir)/function.h $(srcdir)/output.h $(srcdir)/debug.h \ - $(srcdir)/langhooks.h $(srcdir)/langhooks-def.h + $(srcdir)/langhooks.h $(LANGHOOKS_DEF_H) $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) -I$(srcdir)/objc \ -c $(srcdir)/objc/objc-act.c diff --git a/contrib/gcc/objc/objc-lang.c b/contrib/gcc/objc/objc-lang.c index 874a9c3..9effd14 100644 --- a/contrib/gcc/objc/objc-lang.c +++ b/contrib/gcc/objc/objc-lang.c @@ -1,5 +1,5 @@ /* Language-dependent hooks for Objective-C. - Copyright 2001 Free Software Foundation, Inc. + Copyright 2001, 2002 Free Software Foundation, Inc. Contributed by Ziemowit Laski <zlaski@apple.com> This file is part of GNU CC. @@ -30,10 +30,9 @@ Boston, MA 02111-1307, USA. */ #include "langhooks-def.h" static void objc_init_options PARAMS ((void)); -static void objc_post_options PARAMS ((void)); #undef LANG_HOOKS_NAME -#define LANG_HOOKS_NAME "GNU Objective-C" +#define LANG_HOOKS_NAME "GNU Objective-C" #undef LANG_HOOKS_INIT #define LANG_HOOKS_INIT objc_init #undef LANG_HOOKS_FINISH @@ -43,7 +42,11 @@ static void objc_post_options PARAMS ((void)); #undef LANG_HOOKS_DECODE_OPTION #define LANG_HOOKS_DECODE_OPTION objc_decode_option #undef LANG_HOOKS_POST_OPTIONS -#define LANG_HOOKS_POST_OPTIONS objc_post_options +#define LANG_HOOKS_POST_OPTIONS c_common_post_options +#undef LANG_HOOKS_GET_ALIAS_SET +#define LANG_HOOKS_GET_ALIAS_SET c_common_get_alias_set +#undef LANG_HOOKS_SAFE_FROM_P +#define LANG_HOOKS_SAFE_FROM_P c_safe_from_p #undef LANG_HOOKS_STATICP #define LANG_HOOKS_STATICP c_staticp #undef LANG_HOOKS_PRINT_IDENTIFIER @@ -72,13 +75,3 @@ objc_init_options () { c_common_init_options (clk_objective_c); } - -/* Post-switch processing. */ - -static void -objc_post_options () -{ - c_common_post_options (); -} - - |