aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/crisutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cris/crisutils.h')
-rw-r--r--tests/cris/crisutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cris/crisutils.h b/tests/cris/crisutils.h
index 63c713897c..7d1ea86f73 100644
--- a/tests/cris/crisutils.h
+++ b/tests/cris/crisutils.h
@@ -4,7 +4,7 @@ static char *tst_cc_loc = NULL;
do { tst_cc_loc = "test_cc failed at " CURRENT_LOCATION; } while(0)
/* We need a real symbol to signal error. */
-static void _err(void) {
+void _err(void) {
if (!tst_cc_loc)
tst_cc_loc = "tst_cc_failed\n";
_fail(tst_cc_loc);