Add missing prototypes.

This commit is contained in:
Ralf Corsepius
2008-08-20 04:02:57 +00:00
parent be716129bc
commit c8bcff5741
4 changed files with 16 additions and 16 deletions

View File

@@ -45,9 +45,9 @@
volatile uint32_t Clock_driver_ticks; volatile uint32_t Clock_driver_ticks;
extern volatile m8xx_t m8xx; extern volatile m8xx_t m8xx;
extern int BSP_get_clock_irq_level(); extern int BSP_get_clock_irq_level(void);
extern int BSP_connect_clock_handler(rtems_isr_entry); extern int BSP_connect_clock_handler(rtems_isr_entry);
extern int BSP_disconnect_clock_handler(); extern int BSP_disconnect_clock_handler(void);
void Clock_exit( void ); void Clock_exit( void );

View File

@@ -59,7 +59,7 @@
int BSP_irq_enabled_at_cpm(const rtems_irq_number irqLine); int BSP_irq_enabled_at_cpm(const rtems_irq_number irqLine);
/* BSP supplied routine */ /* BSP supplied routine */
extern int mbx8xx_console_get_configuration(); extern int mbx8xx_console_get_configuration(void);
/* /*
* Interrupt-driven input buffer * Interrupt-driven input buffer

View File

@@ -47,13 +47,13 @@ extern uint32_t bsp_timer_average_overhead;
static volatile uint32_t startedAt; static volatile uint32_t startedAt;
static rtems_boolean subtractOverhead; static rtems_boolean subtractOverhead;
void Timer_initialize() void Timer_initialize(void)
{ {
/* We are going to rely on clock.c to sort out where the clock comes from */ /* We are going to rely on clock.c to sort out where the clock comes from */
startedAt = ppc_time_base(); startedAt = ppc_time_base();
} }
int Read_timer() int Read_timer(void)
{ {
uint32_t clicks, total; uint32_t clicks, total;

View File

@@ -207,58 +207,58 @@ void _CPU_cache_disable_instruction ( void )
#warning Most cache functions are not implemented #warning Most cache functions are not implemented
void _CPU_cache_flush_entire_data() void _CPU_cache_flush_entire_data(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_invalidate_entire_data() void _CPU_cache_invalidate_entire_data(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_freeze_data() void _CPU_cache_freeze_data(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_unfreeze_data() void _CPU_cache_unfreeze_data(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_enable_data() void _CPU_cache_enable_data(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_disable_data() void _CPU_cache_disable_data(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_invalidate_entire_instruction() void _CPU_cache_invalidate_entire_instruction(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_freeze_instruction() void _CPU_cache_freeze_instruction(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_unfreeze_instruction() void _CPU_cache_unfreeze_instruction(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_enable_instruction() void _CPU_cache_enable_instruction(void)
{ {
/* Void */ /* Void */
} }
void _CPU_cache_disable_instruction() void _CPU_cache_disable_instruction(void)
{ {
/* Void */ /* Void */
} }