diff options
Diffstat (limited to 'gcc/java')
-rw-r--r-- | gcc/java/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/java/lang.c | 7 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 2ef46cf..3cdbf8c 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2003-07-02 Neil Booth <neil@daikokuya.co.uk> + + * lang.c (java_init_options): Update prototype. + 2003-07-01 Nathan Sidwell <nathan@codesourcery.com> * decl.c (poplevel): Adjust define_label call. diff --git a/gcc/java/lang.c b/gcc/java/lang.c index b8fc498..7137bcf 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -50,7 +50,7 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */ static bool java_init (void); static void java_finish (void); -static int java_init_options (void); +static unsigned int java_init_options (unsigned int, const char **); static bool java_post_options (const char **); static int java_handle_option (size_t scode, const char *arg, int value); @@ -664,8 +664,9 @@ void lang_init_source (int level) inhibit_error_function_printing = (level == 1); } -static int -java_init_options (void) +static unsigned int +java_init_options (unsigned int argc ATTRIBUTE_UNUSED, + const char **argv ATTRIBUTE_UNUSED) { flag_bounds_check = 1; flag_exceptions = 1; |