summaryrefslogtreecommitdiff
path: root/gcc/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/plugin.h')
-rw-r--r--gcc/plugin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/plugin.h b/gcc/plugin.h
index ec0420346f4..4d2d12a9da6 100644
--- a/gcc/plugin.h
+++ b/gcc/plugin.h
@@ -23,7 +23,6 @@ along with GCC; see the file COPYING3. If not see
#include "gcc-plugin.h"
struct attribute_spec;
-struct diagnostic_context;
extern void add_new_plugin (const char *);
extern void parse_plugin_arg_opt (const char *);
@@ -33,7 +32,7 @@ extern bool plugins_active_p (void);
extern void dump_active_plugins (FILE *);
extern void debug_active_plugins (void);
extern void warn_if_plugins (void);
-extern void plugins_internal_error_function (struct diagnostic_context *,
+extern void plugins_internal_error_function (diagnostic_context *,
const char *, va_list *);
extern void print_plugins_versions (FILE *file, const char *indent);
extern void print_plugins_help (FILE *file, const char *indent);