aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/check_addc.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2011-01-17 20:26:30 +0000
committerBlue Swirl <blauwirbel@gmail.com>2011-01-17 20:26:30 +0000
commit4a6648f44eefbfbea38a1de56f8a8e44a8892941 (patch)
tree7c08329446b2ae1532227b9186bef7746d31b096 /tests/cris/check_addc.c
parent29718712eb2e53c09d28f08e39f6514d690f6fd3 (diff)
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_addc.c')
-rw-r--r--tests/cris/check_addc.c3
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;
}