summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-05 21:57:13 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-05 21:57:13 +0000
commit549aab72b1897b579be5f894a4fdc26083590cf7 (patch)
tree908fc4e9290a416e1c851c8683a076b5d6982f1b /gcc/langhooks.h
parent07932ea7c4fd4a2fb44e8ddabd0eef35b121ba61 (diff)
downloadgcc-549aab72b1897b579be5f894a4fdc26083590cf7.tar.gz
* langhooks.c (add_builtin_type): New function.
* langhooks.h (add_builtin_type): Export it. * config/mep/mep.c (mep_init_builtins): Use it. * config/rs6000/rs6000.c (rs6000_init_builtins): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184960 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/langhooks.h')
-rw-r--r--gcc/langhooks.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/langhooks.h b/gcc/langhooks.h
index 89e74f93681..15497225cbd 100644
--- a/gcc/langhooks.h
+++ b/gcc/langhooks.h
@@ -479,6 +479,7 @@ struct lang_hooks
/* Each front end provides its own. */
extern struct lang_hooks lang_hooks;
+
extern tree add_builtin_function (const char *name, tree type,
int function_code, enum built_in_class cl,
const char *library_name,
@@ -489,5 +490,6 @@ extern tree add_builtin_function_ext_scope (const char *name, tree type,
enum built_in_class cl,
const char *library_name,
tree attrs);
-
+extern tree add_builtin_type (const char *name, tree type);
+
#endif /* GCC_LANG_HOOKS_H */