forked from Imagelibrary/rtems
Add missing prototypes.
This commit is contained in:
@@ -119,9 +119,9 @@ void boot_phase_2(void)
|
||||
static constructors have not been called, and RTEMS is not initialised.
|
||||
*/
|
||||
|
||||
void boot_card();
|
||||
void set_debug_traps();
|
||||
void breakpoint();
|
||||
void boot_card(void);
|
||||
void set_debug_traps(void);
|
||||
void breakpoint(void);
|
||||
|
||||
void boot_phase_3(void)
|
||||
{
|
||||
|
||||
@@ -13,21 +13,21 @@
|
||||
/*****************************************************************************/
|
||||
|
||||
void
|
||||
production_memory_test()
|
||||
production_memory_test(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
boot_memory_test()
|
||||
boot_memory_test(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
reset_partial_memory_test()
|
||||
reset_partial_memory_test(void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
partial_memory_test()
|
||||
partial_memory_test(void)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ uint32_t Timer_interrupts;
|
||||
|
||||
rtems_boolean Timer_driver_Find_average_overhead;
|
||||
|
||||
rtems_isr timerisr();
|
||||
rtems_isr timerisr(void);
|
||||
|
||||
void Timer_initialize( void )
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@ rtems_isr bsp_spurious_handler(
|
||||
CPU_Interrupt_frame *isf */
|
||||
);
|
||||
|
||||
void bsp_spurious_initialize()
|
||||
void bsp_spurious_initialize(void)
|
||||
{
|
||||
uint32_t vector;
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ typedef struct {
|
||||
/* 8 microseconds per click, 125,000 per second */
|
||||
|
||||
/* XXX should check that microseconds_per_tick is >= 8 */
|
||||
void Clock_driver_support_initialize_hardware()
|
||||
void Clock_driver_support_initialize_hardware(void)
|
||||
{
|
||||
timer_hw_t *t = TIMER_BASE;
|
||||
|
||||
@@ -36,14 +36,14 @@ void Clock_driver_support_initialize_hardware()
|
||||
t->cr = 0xA1; /* enable timer */
|
||||
}
|
||||
|
||||
void Clock_driver_support_at_tick()
|
||||
void Clock_driver_support_at_tick(void)
|
||||
{
|
||||
timer_hw_t *t = TIMER_BASE;
|
||||
|
||||
t->sr = 0xA0; /* Negate timer interrupt request */
|
||||
}
|
||||
|
||||
void Clock_driver_support_shutdown_hardware()
|
||||
void Clock_driver_support_shutdown_hardware(void)
|
||||
{
|
||||
timer_hw_t *t = TIMER_BASE;
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ void bsp_pretasking_hook(void); /* m68k version */
|
||||
|
||||
void bsp_predriver_hook(void)
|
||||
{
|
||||
void bsp_spurious_initialize();
|
||||
extern void bsp_spurious_initialize(void);
|
||||
bsp_spurious_initialize();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user