diff options
Diffstat (limited to 'tests/cris/check_addc.c')
-rw-r--r-- | tests/cris/check_addc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/cris/check_addc.c b/tests/cris/check_addc.c index e4078555f8..facd1bea2d 100644 --- a/tests/cris/check_addc.c +++ b/tests/cris/check_addc.c @@ -4,7 +4,8 @@ #include "sys.h" #include "crisutils.h" -extern inline int cris_addc(int a, const int b) { +static inline int cris_addc(int a, const int b) +{ asm ("addc\t%1, %0\n" : "+r" (a) : "r" (b)); return a; } |