[rtems commit] score/cpu/m32c: Fix warnings

Joel Sherrill joel at rtems.org
Mon Oct 13 16:27:41 UTC 2014


Module:    rtems
Branch:    master
Commit:    6b514360b8df3434723a9a39504832745c4b4245
Changeset: http://git.rtems.org/rtems/commit/?id=6b514360b8df3434723a9a39504832745c4b4245

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Sun Oct 12 16:06:06 2014 -0500

score/cpu/m32c: Fix warnings

---

 cpukit/score/cpu/m32c/cpu_asm.c         |    7 ++++---
 cpukit/score/cpu/m32c/rtems/score/cpu.h |    2 +-
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/cpukit/score/cpu/m32c/cpu_asm.c b/cpukit/score/cpu/m32c/cpu_asm.c
index 9515264..f992c57 100644
--- a/cpukit/score/cpu/m32c/cpu_asm.c
+++ b/cpukit/score/cpu/m32c/cpu_asm.c
@@ -36,15 +36,16 @@
 #include <rtems/system.h>
 #include <rtems/score/cpu.h>
 
+void _ISR_Handler(void);
+
 /*  void __ISR_Handler()
  *
  *  This routine provides the RTEMS interrupt management.
  *
- *  NO_CPU Specific Information:
+ *  M32C Specific Information:
  *
- *  XXX document implementation including references if appropriate
+ *  Interrupts are not currently supported.
  */
-
 void _ISR_Handler(void)
 {
    /*
diff --git a/cpukit/score/cpu/m32c/rtems/score/cpu.h b/cpukit/score/cpu/m32c/rtems/score/cpu.h
index 011fe48..55e9853 100644
--- a/cpukit/score/cpu/m32c/rtems/score/cpu.h
+++ b/cpukit/score/cpu/m32c/rtems/score/cpu.h
@@ -842,7 +842,7 @@ void _CPU_Context_Initialize(
  */
 void _CPU_Context_Restart_self(
   Context_Control  *the_context
-);
+) RTEMS_COMPILER_NO_RETURN_ATTRIBUTE;
 
 /**
  * @ingroup CPUContext



More information about the vc mailing list