summaryrefslogtreecommitdiff
path: root/gcc/gcc-plugin.h
diff options
context:
space:
mode:
authorRafael Avila de Espindola <espindola@google.com>2009-04-29 13:20:53 +0000
committerRafael Espindola <espindola@gcc.gnu.org>2009-04-29 13:20:53 +0000
commit0c463e161734f80cedd2b771bee49e7ee6be0f05 (patch)
treebc30f317d77a84e251fb2c5a1c24dff6ffcfd42a /gcc/gcc-plugin.h
parenteb9cb0fc5e0c945f8f2bc0d3acaf4fbba7acfe6b (diff)
downloadgcc-0c463e161734f80cedd2b771bee49e7ee6be0f05.tar.gz
Makefile.in (PLUGIN_VERSION_H): New.
2009-04-29 Rafael Avila de Espindola <espindola@google.com> * Makefile.in (PLUGIN_VERSION_H): New. (OBJS-common): Remove plugin-version.o. (plugin.o): Depend on (PLUGIN_VERSION_H). (plugin-version.o): Remove. * configure: Regenerate * configure.ac: Create plugin-version.h. * gcc-plugin.h (plugin_gcc_version): Remove. (plugin_default_version_check): Change signature. * plugin-version.c: Remove. * plugin.c: Include plugin-version.h. (str_plugin_gcc_version_name): Remove. (try_init_one_plugin): Pass gcc version to plugin_init. (plugin_default_version_check): Both gcc and plugin versions are now arguments. From-SVN: r146962
Diffstat (limited to 'gcc/gcc-plugin.h')
-rw-r--r--gcc/gcc-plugin.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/gcc-plugin.h b/gcc/gcc-plugin.h
index 543dc933742..96c867d4bc6 100644
--- a/gcc/gcc-plugin.h
+++ b/gcc/gcc-plugin.h
@@ -78,11 +78,10 @@ struct plugin_gcc_version
const char *configuration_arguments;
};
-extern struct plugin_gcc_version plugin_gcc_version;
-
/* The default version check. Compares every field in VERSION. */
-extern bool plugin_default_version_check(struct plugin_gcc_version *version);
+extern bool plugin_default_version_check (struct plugin_gcc_version *,
+ struct plugin_gcc_version *);
/* Function type for the plugin initialization routine. Each plugin module
should define this as an externally-visible function with name