diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2011-01-17 20:26:30 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-01-17 20:26:30 +0000 |
commit | 4a6648f44eefbfbea38a1de56f8a8e44a8892941 (patch) | |
tree | 7c08329446b2ae1532227b9186bef7746d31b096 /tests/cris/check_abs.c | |
parent | 29718712eb2e53c09d28f08e39f6514d690f6fd3 (diff) | |
download | qemu-4a6648f44eefbfbea38a1de56f8a8e44a8892941.zip qemu-4a6648f44eefbfbea38a1de56f8a8e44a8892941.tar.gz qemu-4a6648f44eefbfbea38a1de56f8a8e44a8892941.tar.bz2 |
Replace 'extern inline' with 'static inline'
Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
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) { |