[PATCH 2/7] bsps/sparc: Make spurious trap handler function static.
Daniel Cederman
cederman at gaisler.com
Thu Mar 13 14:19:30 UTC 2014
---
c/src/lib/libbsp/sparc/erc32/startup/spurious.c | 2 +-
c/src/lib/libbsp/sparc/leon2/startup/spurious.c | 2 +-
c/src/lib/libbsp/sparc/leon3/startup/spurious.c | 2 +-
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 b74f0c7..b8408f2 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 0aa6826..5f7cf27 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 e12ac01..210dee0 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
)
--
1.7.9.5
More information about the devel
mailing list