[PATCH 26/42] libbsp/mips/shared: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Fri Oct 17 15:23:42 UTC 2014


---
 c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c |  2 +-
 c/src/lib/libbsp/mips/shared/irq/exception.S     | 15 ++++-----------
 2 files changed, 5 insertions(+), 12 deletions(-)

diff --git a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
index c4606a8..8320eb6 100644
--- a/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
+++ b/c/src/lib/libbsp/mips/shared/gdbstub/mips-stub.c
@@ -214,7 +214,7 @@ void handle_exception (rtems_vector_number vector, CPU_Interrupt_frame *frame);
 
 /*
  * Prototype needed by this code and to keep it self contained.
- *.
+ */
 void rtems_interrupt_catch( rtems_isr_entry, int, rtems_isr_entry *);
 
 /*
diff --git a/c/src/lib/libbsp/mips/shared/irq/exception.S b/c/src/lib/libbsp/mips/shared/irq/exception.S
index 8ac1035..e916ae5 100644
--- a/c/src/lib/libbsp/mips/shared/irq/exception.S
+++ b/c/src/lib/libbsp/mips/shared/irq/exception.S
@@ -1,9 +1,10 @@
-/*  exception.S
- *
+/*
  *  This file contains a customized MIPS exception handler.
  *  It hooks into the exception handler present in the resident
  *  PMON debug monitor.
- *
+ */
+
+/*
  *  Author: Bruce Robinson
  *
  *  This code was derived from cpu_asm.S with the following copyright:
@@ -79,14 +80,6 @@
 #define ISR_VEC_SIZE	4
 #define EXCP_STACK_SIZE (NREGS*R_SZ)
 
-
-#ifdef __GNUC__
-#define EXTERN(x,size) .extern x,size
-#else
-#define EXTERN(x,size)
-#endif
-
-
 .extern _Thread_Dispatch
 
 /*  void __ISR_Handler()
-- 
1.9.3



More information about the devel mailing list