]> git.proxmox.com Git - qemu.git/blobdiff - tests/cris/check_addcm.c
Replace 'extern inline' with 'static inline'
[qemu.git] / tests / cris / check_addcm.c
index 9ffea29bd926c7aa13e362a45d964348589a3f5e..7928bc9999b598c22c3ae86c0b135544c77d4825 100644 (file)
@@ -5,13 +5,15 @@
 #include "crisutils.h"
 
 /* need to avoid acr as source here.  */
-extern inline int cris_addc_m(int a, const int *b) {
+static inline int cris_addc_m(int a, const int *b)
+{
        asm volatile ("addc [%1], %0\n" : "+r" (a) : "r" (b));
        return a;
 }
 
 /* 'b' is a crisv32 constrain to avoid postinc with $acr.  */
-extern inline int cris_addc_pi_m(int a, int **b) {
+static inline int cris_addc_pi_m(int a, int **b)
+{
        asm volatile ("addc [%1+], %0\n" : "+r" (a), "+b" (*b));
        return a;
 }