diff options
author | zlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-04 00:25:20 +0000 |
---|---|---|
committer | zlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-12-04 00:25:20 +0000 |
commit | e478ec25e784129fc7230581c284a6f551fe369a (patch) | |
tree | d7559bc52fc1fa75f1a70224b1c1db1fc1998772 /gcc/objc/objc-act.h | |
parent | 6e04e21762bf34a1f3cdc2526183e0abaf81f21f (diff) | |
download | gcc-e478ec25e784129fc7230581c284a6f551fe369a.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47575 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-act.h')
-rw-r--r-- | gcc/objc/objc-act.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index 2825970a3dc..72b8b3e34b9 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 */ |