From 4e089a757d0e64a243ab54969d2dcb094f88e3a6 Mon Sep 17 00:00:00 2001 From: Ziemowit Laski Date: Tue, 4 Dec 2001 00:25:20 +0000 Subject: Make-lang.in: Update copyright. * objc/Make-lang.in: Update copyright. (OBJC_OBJS): Add objc-lang.o. (objc-lang.o): New rule. * objc/config-lang.in: Fix file description and update copyright. * objc/objc-act.c: Do not include langhooks.h and langhooks-def.h (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c. (objc_post_options): Move to objc-lang.c. (objc_init_options): Move to objc-lang.c. (objc_init): Make non-static. (HASHFUNCTION): Remove macro. (hash_func): New function. (hash_enter): Replace HASHFUNCTION with hash_func. (hash_lookup): Replace HASHFUNCTION with hash_func. (maybe_objc_tree_codes): New function. (init_objc): Move ObjC tree code initialization to maybe_objc_tree_codes(). * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard. (objc_init): New public prototype. (objc_decode_option): New public prototype. (maybe_add_objc_tree_codes): New public prototype. * objc/objc-lang.c: New file. (lang_hooks): Moved from objc-act.c. (objc_post_options): Moved from objc-act.c. (objc_init_options): Moved from objc-act.c. From-SVN: r47575 --- gcc/objc/objc-act.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/objc/objc-act.h') diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index 2825970..72b8b3e 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -18,9 +18,14 @@ along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#ifndef GCC_OBJC_ACT_H +#define GCC_OBJC_ACT_H /*** Public Interface (procedures) ***/ +const char *objc_init PARAMS ((const char *)); +int objc_decode_option PARAMS ((int, char **)); + /* used by yyparse */ void finish_file PARAMS ((void)); @@ -353,3 +358,4 @@ extern tree objc_global_trees[OCTI_MAX]; #define string_class_decl objc_global_trees[OCTI_STRING_CLASS_DECL] #define UOBJC_SUPER_decl objc_global_trees[OCTI_SUPER_DECL] +#endif /* GCC_OBJC_ACT_H */ -- cgit v1.1