[rtems commit] bsps/sparc: Make spurious trap handler function static.
Joel Sherrill
joel at rtems.org
Fri Mar 21 15:14:54 UTC 2014
Module: rtems
Branch: master
Commit: f23bd591c2085f38f29c2331d0b5d0dd089b8723
Changeset: http://git.rtems.org/rtems/commit/?id=f23bd591c2085f38f29c2331d0b5d0dd089b8723
Author: Daniel Cederman <cederman at gaisler.com>
Date: Thu Mar 13 14:21:27 2014 +0100
bsps/sparc: Make spurious trap handler function static.
---
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
)
More information about the vc
mailing list