From 6d1f11f39ef0660d5f91abf0f2c97493ccbe2b17 Mon Sep 17 00:00:00 2001 From: zack Date: Fri, 7 Jun 2002 22:24:30 +0000 Subject: * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54352 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cpplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/cpplib.h') 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 -- cgit v1.2.3