[PATCH 49/54] score/cpu/m32c: Fix warnings
Joel Sherrill
joel.sherrill at oarcorp.com
Mon Oct 13 15:37:33 UTC 2014
---
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
--
1.9.3
More information about the devel
mailing list