[rtems commit] libbsp/sparc/.../gnatcommon.c: Formatting
Joel Sherrill
joel at rtems.org
Mon Sep 30 17:02:43 UTC 2013
Module: rtems
Branch: master
Commit: ba2e98e64376b859b7204849d40c49e1f8312456
Changeset: http://git.rtems.org/rtems/commit/?id=ba2e98e64376b859b7204849d40c49e1f8312456
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Sep 30 12:08:38 2013 -0500
libbsp/sparc/.../gnatcommon.c: Formatting
---
c/src/lib/libbsp/sparc/shared/gnatcommon.c | 12 +++++-------
1 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/shared/gnatcommon.c b/c/src/lib/libbsp/sparc/shared/gnatcommon.c
index c44eacb..4128982 100644
--- a/c/src/lib/libbsp/sparc/shared/gnatcommon.c
+++ b/c/src/lib/libbsp/sparc/shared/gnatcommon.c
@@ -16,9 +16,8 @@
* Synchronous trap handler. Map the trap number of SIGFPE, SIGSEGV
* or SIGILL to generate the corresponding Ada exception.
*/
-
-rtems_isr __gnat_exception_handler
- (rtems_vector_number trap)
+static rtems_isr
+__gnat_exception_handler(rtems_vector_number trap)
{
uint32_t real_trap;
uint32_t signal;
@@ -46,9 +45,8 @@ rtems_isr __gnat_exception_handler
* Asynchronous trap handler. As it happens, the interrupt trap numbers for
* SPARC is 17 - 31, so we just map then directly on the same signal number.
*/
-
-rtems_isr __gnat_interrupt_handler
- (rtems_vector_number trap)
+static rtems_isr
+__gnat_interrupt_handler (rtems_vector_number trap)
{
uint32_t real_trap;
@@ -62,7 +60,7 @@ rtems_isr __gnat_interrupt_handler
* Default signal handler with error reporting
*/
-void
+static void
__gnat_signals_Abnormal_termination_handler (int signo)
{
switch (signo)
More information about the vc
mailing list