summaryrefslogtreecommitdiffstats
path: root/cpukit/score
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2008-08-19 06:34:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2008-08-19 06:34:44 +0000
commitd82bd279515315b994a38847b556aedf0e7f0699 (patch)
treeff5d6c2965571820455fe2112cb5cf54430de967 /cpukit/score
parent2008-08-18 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-d82bd279515315b994a38847b556aedf0e7f0699.tar.bz2
Add missing prototypes.
Diffstat (limited to 'cpukit/score')
-rw-r--r--cpukit/score/cpu/arm/cpu.c6
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/arm/cpu.c b/cpukit/score/cpu/arm/cpu.c
index 960c4eada8..2b00c22656 100644
--- a/cpukit/score/cpu/arm/cpu.c
+++ b/cpukit/score/cpu/arm/cpu.c
@@ -204,9 +204,9 @@ void _defaultExcHandler (CPU_Exception_frame *ctx)
cpuExcHandlerType _currentExcHandler = _defaultExcHandler;
-extern void _Exception_Handler_Undef_Swi();
-extern void _Exception_Handler_Abort();
-extern void _exc_data_abort();
+extern void _Exception_Handler_Undef_Swi(void);
+extern void _Exception_Handler_Abort(void);
+extern void _exc_data_abort(void);
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index 02fdcea379..bf7a5e9f27 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -459,7 +459,7 @@ SCORE_EXTERN void *_CPU_Interrupt_stack_high;
* XXX
*/
-SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)();
+SCORE_EXTERN void (*_CPU_Thread_dispatch_pointer)(void);
/*
* Nothing prevents the porter from declaring more CPU specific variables.