diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-06-18 06:00:06 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-06-18 06:00:06 +0000 |
commit | 903caebf4947dd73a50f7e8405c4290f1c626081 (patch) | |
tree | a292fa66d1c8a6547f19c59f2e263f2f5e28d6b6 /gcc/toplev.h | |
parent | f3f735eb70c33e4659e9d101c10492d6ff2aec23 (diff) | |
download | gcc-903caebf4947dd73a50f7e8405c4290f1c626081.tar.gz |
Makefile.in: Update.
* 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.
From-SVN: r68138
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; |