summaryrefslogtreecommitdiff
path: root/gcc/cpplib.h
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2002-06-07 22:24:30 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-06-07 22:24:30 +0000
commit09e77dee592f5bdb33b3e3ccd48fdba631d26139 (patch)
tree7a1bf70d67c5edb93d24792709314b561db24b09 /gcc/cpplib.h
parent3522a91b8029058d4b7a06d8f5b4932f6a35dfc4 (diff)
downloadgcc-09e77dee592f5bdb33b3e3ccd48fdba631d26139.tar.gz
cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W options their own entries.
* cppinit.c (COMMAND_LINE_OPTIONS): Give all relevant -W options their own entries. (parse_option): Clarify comment. (cpp_handle_option): Remove 'ignore' parameter and OPT_W special case. Replace if/strcmp chain for -W options with use of new OPT_* entries for them. (cpp_handle_options): Update to match. * cpplib.h: Remove last parameter to cpp_handle_option from prototype. * c-decl.c, cp/decl2.c: Update call to cpp_handle_option. From-SVN: r54352
Diffstat (limited to 'gcc/cpplib.h')
-rw-r--r--gcc/cpplib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cpplib.h b/gcc/cpplib.h
index 672f3e860d5..66a865314b4 100644
--- a/gcc/cpplib.h
+++ b/gcc/cpplib.h
@@ -515,7 +515,7 @@ extern void cpp_set_callbacks PARAMS ((cpp_reader *, cpp_callbacks *));
structure reliable. Options processing is not completed until you
call cpp_finish_options. */
extern int cpp_handle_options PARAMS ((cpp_reader *, int, char **));
-extern int cpp_handle_option PARAMS ((cpp_reader *, int, char **, int));
+extern int cpp_handle_option PARAMS ((cpp_reader *, int, char **));
extern void cpp_post_options PARAMS ((cpp_reader *));
/* This function reads the file, but does not start preprocessing. It