aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/hooks.c')
-rw-r--r--gcc/hooks.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/hooks.c b/gcc/hooks.c
index 356c64c..f698d1d 100644
--- a/gcc/hooks.c
+++ b/gcc/hooks.c
@@ -386,13 +386,20 @@ hook_tree_tree_tree_tree_3rd_identity (tree a ATTRIBUTE_UNUSED,
return c;
}
-/* Generic hook that takes no arguments and returns a NULL string. */
+/* Generic hook that takes no arguments and returns a NULL const string. */
const char *
hook_constcharptr_void_null (void)
{
return NULL;
}
+/* Generic hook that takes no arguments and returns a NULL string. */
+char *
+hook_charptr_void_null (void)
+{
+ return NULL;
+}
+
/* Generic hook that takes a tree and returns a NULL string. */
const char *
hook_constcharptr_const_tree_null (const_tree t ATTRIBUTE_UNUSED)