summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Cederman <cederman@gaisler.com>2014-03-13 14:21:27 +0100
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-03-21 09:57:23 -0500
commitf23bd591c2085f38f29c2331d0b5d0dd089b8723 (patch)
tree7fb29c0b55c4ead8134807544523fdd0e932547f
parenta46e02c7eabc58cb61eebe94d3a69def5f4edb2a (diff)
downloadrtems-f23bd591c2085f38f29c2331d0b5d0dd089b8723.tar.bz2
bsps/sparc: Make spurious trap handler function static.
-rw-r--r--c/src/lib/libbsp/sparc/erc32/startup/spurious.c2
-rw-r--r--c/src/lib/libbsp/sparc/leon2/startup/spurious.c2
-rw-r--r--c/src/lib/libbsp/sparc/leon3/startup/spurious.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/startup/spurious.c b/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
index b74f0c7230..b8408f2f0f 100644
--- a/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/erc32/startup/spurious.c
@@ -118,7 +118,7 @@ void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
}
}
-rtems_isr bsp_spurious_handler(
+static rtems_isr bsp_spurious_handler(
rtems_vector_number trap,
CPU_Interrupt_frame *isf
)
diff --git a/c/src/lib/libbsp/sparc/leon2/startup/spurious.c b/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
index 0aa6826ef6..5f7cf270b9 100644
--- a/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/leon2/startup/spurious.c
@@ -105,7 +105,7 @@ void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
}
}
-rtems_isr bsp_spurious_handler(
+static rtems_isr bsp_spurious_handler(
rtems_vector_number trap,
CPU_Interrupt_frame *isf
)
diff --git a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
index e12ac018a6..210dee0a73 100644
--- a/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
+++ b/c/src/lib/libbsp/sparc/leon3/startup/spurious.c
@@ -109,7 +109,7 @@ void _BSP_Exception_frame_print( const CPU_Exception_frame *frame )
}
}
-rtems_isr bsp_spurious_handler(
+static rtems_isr bsp_spurious_handler(
rtems_vector_number trap,
CPU_Interrupt_frame *isf
)