diff options
Diffstat (limited to 'tests/cris/check_abs.c')
-rw-r--r-- | tests/cris/check_abs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cris/check_abs.c b/tests/cris/check_abs.c index 3966c87..9770a8d 100644 --- a/tests/cris/check_abs.c +++ b/tests/cris/check_abs.c @@ -4,13 +4,14 @@ #include "sys.h" #include "crisutils.h" -extern inline int cris_abs(int n) { +static inline int cris_abs(int n) +{ int r; asm ("abs\t%1, %0\n" : "=r" (r) : "r" (n)); return r; } -extern inline void +static inline void verify_abs(int val, int res, const int n, const int z, const int v, const int c) { |