LEON3 SMP: remove compiler warning from __delay() declaration

This commit is contained in:
Daniel Hellstrom
2013-10-31 15:23:21 +01:00
committed by Sebastian Huber
parent bedfe131bb
commit 82e11be20c

View File

@@ -138,7 +138,7 @@ void bsp_smp_broadcast_interrupt(void)
}
}
extern __inline__ void __delay(unsigned long loops)
static __inline__ void __delay(unsigned long loops)
{
__asm__ __volatile__("cmp %0, 0\n\t"
"1: bne 1b\n\t"