From 19ec5c9ee8372c111378c1759f7b5a7c2d6ec2f0 Mon Sep 17 00:00:00 2001 From: jsm28 Date: Thu, 11 Nov 2010 16:54:49 +0000 Subject: * opts.c (warning_as_error_callback, register_warning_as_error_callback): Remove. (enable_warning_as_error): Don't use warning_as_error_callback. * opts.h (register_warning_as_error_callback): Remove. c-family: * c-opts.c (warning_as_error_callback): Remove. (c_common_initialize_diagnostics): Don't call register_warning_as_error_callback. (c_common_handle_option): Handle -Werror=normalized= here. testsuite: * gcc.dg/cpp/warn-normalized-3.c: Update expected note text. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@166606 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/opts.h | 1 - 1 file changed, 1 deletion(-) (limited to 'gcc/opts.h') diff --git a/gcc/opts.h b/gcc/opts.h index ec9fbc7ba4e..069333b7f74 100644 --- a/gcc/opts.h +++ b/gcc/opts.h @@ -257,7 +257,6 @@ extern void read_cmdline_option (struct gcc_options *opts, unsigned int lang_mask, const struct cl_option_handlers *handlers, diagnostic_context *dc); -extern void register_warning_as_error_callback (void (*callback) (int)); extern void enable_warning_as_error (const char *arg, int value, unsigned int lang_mask, const struct cl_option_handlers *handlers, -- cgit v1.2.1