diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-18 06:00:06 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-18 06:00:06 +0000 |
commit | da3b1bab13e17a271089ab2ab77b62b1750573bf (patch) | |
tree | a292fa66d1c8a6547f19c59f2e263f2f5e28d6b6 /gcc/toplev.h | |
parent | ffbc8512f92220a3a0662e2c45323fa0f2202af2 (diff) | |
download | gcc-da3b1bab13e17a271089ab2ab77b62b1750573bf.tar.gz |
* Makefile.in: Update.
* common.opt: New options.
* opts.c (maybe_warn_unused_parameter, set_Wextra, handle_param,
set_Wunused): New.
(common_handle_option): Handle new options.
* toplev.c (set_target_switch): Export.
(set_Wextra, set_Wunused, maybe_warn_unused_parameter): Move to opts.c.
(decode_W_option): -Wunused and -Wextra handled in opts.c now.
(independent_decode_option): More options handled in opts.c now.
Change prototype.
* toplev.h (set_target_switch): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68138 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index 12d540e9c6f..52ceb5f4ae7 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -107,6 +107,7 @@ extern int target_flags_explicit; extern void display_help (void); extern void display_target_options (void); extern void print_version (FILE *, const char *); +extern void set_target_switch (const char *); /* The hashtable, so that the C front ends can pass it to cpplib. */ extern struct ht *ident_hash; |