From 6a094d39306d1b6a97a8fc657a293fabdf8da742 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 16 Oct 2014 15:13:20 -0500 Subject: libbsp/mips/shared: Fix warnings --- 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 c4606a87f6..8320eb66a9 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 8ac1035441..e916ae55fe 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() -- cgit v1.2.3