[PATCH 22/34] m68k/mrm332: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Mon Oct 20 20:34:24 UTC 2014


---
 c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c b/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c
index ac435cb..8f71b5e 100644
--- a/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c
+++ b/c/src/lib/libbsp/m68k/mrm332/spurious/spinit.c
@@ -1,11 +1,8 @@
-/*  Spurious_driver
- *
+/*
  *  This routine installs spurious interrupt handlers for the mrm.
- *
- *  Input parameters:  NONE
- *
- *  Output parameters:  NONE
- *
+ */
+
+/*
  *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993.
  *  On-Line Applications Research Corporation (OAR).
  *
@@ -28,7 +25,7 @@ const char * const _Spurious_Error_[] = {"Reset","Bus Error","Address Error",
    "AVec7","Trap Instruction","Debug","Reboot","Reserved Coprocessor",
    "Reserved Unassigned","User Defined"};
 
-rtems_isr Spurious_Isr(
+static rtems_isr Spurious_Isr(
   rtems_vector_number vector
 )
 {
-- 
1.9.3




More information about the devel mailing list