diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-16 05:46:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-08-16 05:46:28 +0000 |
commit | 1b502424df964cea5c7c64f9be89d041ef77f86e (patch) | |
tree | da3e37a9ed1e30bb2300ff0188c4f2e12f094b64 /cpukit/score/cpu/i386 | |
parent | 2008-08-16 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-1b502424df964cea5c7c64f9be89d041ef77f86e.tar.bz2 |
Add missing prototypes.
Diffstat (limited to 'cpukit/score/cpu/i386')
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 2 | ||||
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/i386.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index cfce510857..c1da7ec609 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -146,7 +146,7 @@ typedef struct { typedef void (*cpuExcHandlerType) (CPU_Exception_frame*); extern cpuExcHandlerType _currentExcHandler; -extern void rtems_exception_init_mngt(); +extern void rtems_exception_init_mngt(void); /* * The following structure defines the set of information saved diff --git a/cpukit/score/cpu/i386/rtems/score/i386.h b/cpukit/score/cpu/i386/rtems/score/i386.h index 881187091d..834337b9e5 100644 --- a/cpukit/score/cpu/i386/rtems/score/i386.h +++ b/cpukit/score/cpu/i386/rtems/score/i386.h @@ -149,7 +149,7 @@ static inline uint16_t i386_swap_u16( * Added for pagination management */ -static inline unsigned int i386_get_cr0() +static inline unsigned int i386_get_cr0(void) { register unsigned int segment = 0; @@ -163,7 +163,7 @@ static inline void i386_set_cr0(unsigned int segment) asm volatile ( "movl %0,%%cr0" : "=r" (segment) : "0" (segment) ); } -static inline unsigned int i386_get_cr2() +static inline unsigned int i386_get_cr2(void) { register unsigned int segment = 0; @@ -172,7 +172,7 @@ static inline unsigned int i386_get_cr2() return segment; } -static inline unsigned int i386_get_cr3() +static inline unsigned int i386_get_cr3(void) { register unsigned int segment = 0; |