[rtems commit] LEON3 SMP: remove compiler warning from __delay() declaration
Sebastian Huber
sebh at rtems.org
Thu Oct 31 14:24:37 UTC 2013
Module: rtems
Branch: master
Commit: 82e11be20c84407696d54a66b00ff3320fdde6c6
Changeset: http://git.rtems.org/rtems/commit/?id=82e11be20c84407696d54a66b00ff3320fdde6c6
Author: Daniel Hellstrom <daniel at gaisler.com>
Date: Thu Oct 31 15:23:21 2013 +0100
LEON3 SMP: remove compiler warning from __delay() declaration
---
c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c b/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
index ec2b4a8..262116f 100644
--- a/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
+++ b/c/src/lib/libbsp/sparc/leon3/smp/smp_leon3.c
@@ -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"
More information about the vc
mailing list