Add missing prototypes.

This commit is contained in:
Ralf Corsepius
2008-08-20 05:30:36 +00:00
parent bd792923b9
commit 3dc0d74d08
4 changed files with 9 additions and 9 deletions

View File

@@ -21,7 +21,7 @@
extern void clockOn(void*); extern void clockOn(void*);
extern void clockOff (void*); extern void clockOff (void*);
extern int clockIsOn(void*); extern int clockIsOn(void*);
extern void Clock_isr(); extern void Clock_isr(void);
static rtems_irq_connect_data clockIrqData = {BSP_PERIODIC_TIMER, static rtems_irq_connect_data clockIrqData = {BSP_PERIODIC_TIMER,
(rtems_irq_hdl)Clock_isr, (rtems_irq_hdl)Clock_isr,
@@ -30,7 +30,7 @@ static rtems_irq_connect_data clockIrqData = {BSP_PERIODIC_TIMER,
(rtems_irq_disable)clockOff, (rtems_irq_disable)clockOff,
(rtems_irq_is_enabled)clockIsOn}; (rtems_irq_is_enabled)clockIsOn};
int BSP_get_clock_irq_level() int BSP_get_clock_irq_level(void)
{ {
/* /*
* Caution : if you change this, you must change the * Caution : if you change this, you must change the

View File

@@ -162,7 +162,7 @@ void dump_irq_masks(void )
* is already set and that the tables it contains are still valid * is already set and that the tables it contains are still valid
* and accessible. * and accessible.
*/ */
static void compute_SIU_IvectMask_from_prio () static void compute_SIU_IvectMask_from_prio (void)
{ {
/* /*
* The actual masks defined * The actual masks defined

View File

@@ -22,9 +22,9 @@
*/ */
extern unsigned int external_exception_vector_prolog_code_size; extern unsigned int external_exception_vector_prolog_code_size;
extern void external_exception_vector_prolog_code(); extern void external_exception_vector_prolog_code(void);
extern unsigned int decrementer_exception_vector_prolog_code_size; extern unsigned int decrementer_exception_vector_prolog_code_size;
extern void decrementer_exception_vector_prolog_code(); extern void decrementer_exception_vector_prolog_code(void);
extern void BSP_panic(char *s); extern void BSP_panic(char *s);
extern void _BSP_Fatal_error(unsigned int v); extern void _BSP_Fatal_error(unsigned int v);
@@ -35,15 +35,15 @@ volatile unsigned int ppc_cached_irq_mask;
/* /*
* default on/off function * default on/off function
*/ */
static void nop_func(){} static void nop_func(void){}
/* /*
* default isOn function * default isOn function
*/ */
static int not_connected() {return 0;} static int not_connected(void) {return 0;}
/* /*
* default possible isOn function * default possible isOn function
*/ */
static int connected() {return 1;} static int connected(void) {return 1;}
static rtems_irq_connect_data rtemsIrq[BSP_IRQ_NUMBER]; static rtems_irq_connect_data rtemsIrq[BSP_IRQ_NUMBER];
static rtems_irq_global_settings initial_config; static rtems_irq_global_settings initial_config;

View File

@@ -88,7 +88,7 @@ int except_always_enabled(const rtems_raw_except_connect_data* ptr)
return 1; return 1;
} }
void initialize_exceptions() void initialize_exceptions(void)
{ {
int i; int i;