diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-02 20:15:46 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-02 20:15:46 +0000 |
commit | 4838a8b60e7c994c9b593ea916a32003facba970 (patch) | |
tree | 9c89fbb7a4fe5df7e431edc8e3aadca6bfb3b1de /gcc/opts.h | |
parent | 16a087ae82d5cab9d038339ba936a450f5d22fe2 (diff) | |
download | linaro-gcc-4838a8b60e7c994c9b593ea916a32003facba970.tar.gz linaro-gcc-4838a8b60e7c994c9b593ea916a32003facba970.tar.bz2 linaro-gcc-4838a8b60e7c994c9b593ea916a32003facba970.zip |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68850 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.h')
-rw-r--r-- | gcc/opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/opts.h b/gcc/opts.h index 616ed71112b..52ab44b334a 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -21,7 +21,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #ifndef GCC_OPTS_H #define GCC_OPTS_H -extern void decode_options (int argc, char **argv); +extern void decode_options (unsigned int argc, const char **argv); struct cl_option { |