summaryrefslogtreecommitdiff
path: root/gcc/plugin.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-15 04:56:06 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-15 04:56:06 +0000
commit8da637123e80be2156e84d0f2f1be564132996c1 (patch)
tree3ff18ff7fc94a7ca0a414c165e33d5a33108b3f3 /gcc/plugin.h
parent8eafe656d06910682748b4f19ea12cd8bbabd4ba (diff)
downloadgcc-8da637123e80be2156e84d0f2f1be564132996c1.tar.gz
2009-05-15 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r147550 2009-05-15 Basile Starynkevitch <basile@starynkevitch.net> merged with trunk rev147539 * gcc/melt/warmelt-normal.melt (normexp_defcmatcher): use obj_hash instead of hashcode! * gcc/Makefile.in: TEXI_GCCINT_FILES has both plugins.texi & melt.texi git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@147552 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/plugin.h')
-rw-r--r--gcc/plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/plugin.h b/gcc/plugin.h
index c1f566ba80f..b610b23ed93 100644
--- a/gcc/plugin.h
+++ b/gcc/plugin.h
@@ -22,6 +22,8 @@ along with GCC; see the file COPYING3. If not see
#include "gcc-plugin.h"
+struct attribute_spec;
+
extern void add_new_plugin (const char *);
extern void parse_plugin_arg_opt (const char *);
extern void invoke_plugin_callbacks (enum plugin_event, void *);
@@ -33,4 +35,8 @@ extern void print_plugins_versions (FILE *file, const char *indent);
extern void print_plugins_help (FILE *file, const char *indent);
extern void finalize_plugins (void);
+/* In attribs.c. */
+
+extern void register_attribute (const struct attribute_spec *attr);
+
#endif /* PLUGIN_H */