aboutsummaryrefslogtreecommitdiff
path: root/tests/cris/check_bound.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_bound.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_bound.c')
-rw-r--r--tests/cris/check_bound.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/cris/check_bound.c b/tests/cris/check_bound.c
index 411d2ad56e..e8831754ec 100644
--- a/tests/cris/check_bound.c
+++ b/tests/cris/check_bound.c
@@ -4,19 +4,22 @@
#include "sys.h"
#include "crisutils.h"
-extern inline int cris_bound_b(int v, int b) {
+static inline int cris_bound_b(int v, int b)
+{
int r = v;
asm ("bound.b\t%1, %0\n" : "+r" (r) : "ri" (b));
return r;
}
-extern inline int cris_bound_w(int v, int b) {
+static inline int cris_bound_w(int v, int b)
+{
int r = v;
asm ("bound.w\t%1, %0\n" : "+r" (r) : "ri" (b));
return r;
}
-extern inline int cris_bound_d(int v, int b) {
+static inline int cris_bound_d(int v, int b)
+{
int r = v;
asm ("bound.d\t%1, %0\n" : "+r" (r) : "ri" (b));
return r;