aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-lang.c')
-rw-r--r--gcc/c-lang.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/c-lang.c b/gcc/c-lang.c
index 116561e..92b9c6e 100644
--- a/gcc/c-lang.c
+++ b/gcc/c-lang.c
@@ -31,7 +31,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "langhooks.h"
#include "langhooks-def.h"
-static void c_init_options PARAMS ((void));
+static int c_init_options PARAMS ((void));
/* ### When changing hooks, consider if ObjC needs changing too!! ### */
@@ -43,8 +43,8 @@ static void c_init_options PARAMS ((void));
#define LANG_HOOKS_FINISH c_common_finish
#undef LANG_HOOKS_INIT_OPTIONS
#define LANG_HOOKS_INIT_OPTIONS c_init_options
-#undef LANG_HOOKS_DECODE_OPTION
-#define LANG_HOOKS_DECODE_OPTION c_common_decode_option
+#undef LANG_HOOKS_HANDLE_OPTION
+#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
#undef LANG_HOOKS_POST_OPTIONS
#define LANG_HOOKS_POST_OPTIONS c_common_post_options
#undef LANG_HOOKS_GET_ALIAS_SET
@@ -157,10 +157,10 @@ const char *const tree_code_name[] = {
};
#undef DEFTREECODE
-static void
+static int
c_init_options ()
{
- c_common_init_options (clk_c);
+ return c_common_init_options (clk_c);
}
/* Used by c-lex.c, but only for objc. */