summaryrefslogtreecommitdiff
path: root/gcc/langhooks.h
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2012-03-05 21:57:13 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2012-03-05 21:57:13 +0000
commitc081413602d8a15b4e7c37ece6e757e33632e561 (patch)
tree908fc4e9290a416e1c851c8683a076b5d6982f1b /gcc/langhooks.h
parent704b8582e91b7553b43a17794b76949e61048deb (diff)
downloadgcc-c081413602d8a15b4e7c37ece6e757e33632e561.tar.gz
langhooks.c (add_builtin_type): New function.
* 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. From-SVN: r184960
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 */