diff options
author | Neil Booth <neil@gcc.gnu.org> | 2001-01-09 10:54:01 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2001-01-09 10:54:01 +0000 |
commit | 13c61421ff315b27bb41e6ac8ccacdebab9d8247 (patch) | |
tree | 5175214bd3273e1990f7d1c7e0d43f3853a1fc53 /gcc/java/lang.c | |
parent | fb83deef1a1438c21b65535483a4726f31862b20 (diff) | |
download | gcc-13c61421ff315b27bb41e6ac8ccacdebab9d8247.zip gcc-13c61421ff315b27bb41e6ac8ccacdebab9d8247.tar.gz gcc-13c61421ff315b27bb41e6ac8ccacdebab9d8247.tar.bz2 |
c-lang.c (lang_hooks): Update.
* c-lang.c (lang_hooks): Update.
(lang_init): Rename c_init.
(lang_finish): Remove.
* toplev.c (compile_file): Use lang_hooks for lang_init ()
and lang_finish ().
* toplev.h (lang_hooks): Add init () and finish ().
* tree.h (lang_init, lang_finish): Remove.
* cp/tree.h (lang_init, lang_finish): Remove.
* cp/decl2.c (cxx_post_options, lang_hooks): Move to cp/lex.c.
* cp/lex.c (cxx_init, cxx_finish, cxx_post_options,
lang_hooks): New.
(lang_init, lang_finish): Remove.
* f/com.c (lang_init, lang_finish): Rename f_init, f_finish.
(lang_hooks): Update.
* java/lang.c (lang_init): Rename java_init.
(lang_finish): Remove.
(lang_hooks): Update.
* objc/objc-act.c (lang_init): Rename objc_init.
(lang_finish): Remove.
(lang_hoooks): Update.
From-SVN: r38828
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r-- | gcc/java/lang.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index 3a9f345..9b299b2 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -45,6 +45,7 @@ struct string_option int on_value; }; +static void java_init PARAMS ((void)); static void put_decl_string PARAMS ((const char *, int)); static void put_decl_node PARAMS ((tree)); static void java_dummy_print PARAMS ((const char *)); @@ -187,7 +188,9 @@ static int dependency_tracking = 0; #define DEPEND_FILE_ALREADY_SET 8 /* Each front end provides its own. */ -struct lang_hooks lang_hooks = {NULL /* post_options */}; +struct lang_hooks lang_hooks = {java_init, + NULL, /* java_finish */ + NULL /* post_options */}; /* Process an option that can accept a `no-' form. Return 1 if option found, 0 otherwise. */ @@ -615,8 +618,8 @@ lang_print_error (file) } -void -lang_init () +static void +java_init () { #if 0 extern int flag_minimal_debug; @@ -682,11 +685,6 @@ lang_init_options () flag_bounds_check = 1; } -void -lang_finish () -{ -} - const char * lang_identify () { |