diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-07-02 20:15:46 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-07-02 20:15:46 +0000 |
commit | b86f6cd9ab108f1fda89c4fb00b0b16931182041 (patch) | |
tree | 9c89fbb7a4fe5df7e431edc8e3aadca6bfb3b1de /gcc/f | |
parent | 41ba4c4632751678d7c32b169da1ff40c39bfb9e (diff) | |
download | gcc-b86f6cd9ab108f1fda89c4fb00b0b16931182041.zip gcc-b86f6cd9ab108f1fda89c4fb00b0b16931182041.tar.gz gcc-b86f6cd9ab108f1fda89c4fb00b0b16931182041.tar.bz2 |
c-common.h (c_common_init_options): New prototype.
* c-common.h (c_common_init_options): New prototype.
* c-opts.c (deferred_size): Remove.
(defer_opt): Array is now pre-allocated.
(c_common_init_options): Pre-allocate deferred_opts. Make
lang_flags unsigned.
(push_command_line_options): Free deferred_opts.
* hooks.c (hook_uint_uint_constcharptrptr_0): New.
* hooks.h (hook_uint_uint_constcharptrptr_0): New.
* langhooks-def.h (LANG_HOOKS_INIT_OPTIONS): Update.
* langhooks.h (struct lang_hooks): New prototype for init_options.
* main.c (main): Cast argv.
* opts.c (handle_option, handle_options): Update prototypes.
(decode_options): save_argc, save_argv are not global. Constify.
* opts.h (decode_options): New prototype.
* toplev.c (general_init): New protoype.
(save_argv): Make static.
(save_argc): Remove.
(print_switch_values, general_init): Constify.
(toplev_main): Save argv.
* toplev.h (toplev_main): Update prototype.
(save_argc, save_argv): Remove.
ada:
* misc.c (save_argc, save_argv): Make static.
(gnat_init_options): New prototype.
(gnat_init_options): Update.
f:
* top.c (ffe_init_options): Update prototype.
* top.h (ffe_init_options): Update prototype.
java:
* lang.c (java_init_options): Update prototype.
treelang:
* tree1.c (treelang_init_options): Update prototype.
* treelang.h (treelang_init_options): Update prototype.
From-SVN: r68850
Diffstat (limited to 'gcc/f')
-rw-r--r-- | gcc/f/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/f/top.c | 5 | ||||
-rw-r--r-- | gcc/f/top.h | 2 |
3 files changed, 9 insertions, 3 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog index 0153618..895db16 100644 --- a/gcc/f/ChangeLog +++ b/gcc/f/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 2 21:16:02 2003 Neil Booth <neil@daikokuya.co.uk> + + * top.c (ffe_init_options): Update prototype. + * top.h (ffe_init_options): Update prototype. + 2003-06-27 Zack Weinberg <zack@codesourcery.com> * com.c (input_file_stack_tick): Delete redundant declaration. diff --git a/gcc/f/top.c b/gcc/f/top.c index 359dd2b..30b6eb2 100644 --- a/gcc/f/top.c +++ b/gcc/f/top.c @@ -156,8 +156,9 @@ ffe_is_digit_string_ (const char *s) } /* Get ready for options handling. */ -int -ffe_init_options () +unsigned int +ffe_init_options (unsigned int argc ATTRIBUTE_UNUSED, + const char **argv ATTRIBUTE_UNUSED) { /* Set default options for Fortran. */ flag_move_all_movables = 1; diff --git a/gcc/f/top.h b/gcc/f/top.h index 041dc16..5538ab8 100644 --- a/gcc/f/top.h +++ b/gcc/f/top.h @@ -141,7 +141,7 @@ extern bool ffe_in_4; /* Declare functions with prototypes. */ -int ffe_init_options (void); +unsigned int ffe_init_options (unsigned int, const char **); int ffe_handle_option (size_t code, const char *arg, int on); void ffe_file (ffewhereFile wf, FILE *f); void ffe_init_0 (void); |