Changeset 3dc0d74d in rtems


Ignore:
Timestamp:
Aug 20, 2008, 5:30:36 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
ce53040
Parents:
bd79292
Message:

Add missing prototypes.

Location:
c/src/lib/libbsp/powerpc/mpc8260ads
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc8260ads/clock/p_clock.c

    rbd79292 r3dc0d74d  
    2222extern void clockOff (void*);
    2323extern int clockIsOn(void*);
    24 extern void Clock_isr();
     24extern void Clock_isr(void);
    2525
    2626static rtems_irq_connect_data clockIrqData = {BSP_PERIODIC_TIMER,
     
    3131                                              (rtems_irq_is_enabled)clockIsOn};
    3232
    33 int BSP_get_clock_irq_level()
     33int BSP_get_clock_irq_level(void)
    3434{
    3535  /*
  • c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq.c

    rbd79292 r3dc0d74d  
    163163 * and accessible.
    164164 */
    165 static void compute_SIU_IvectMask_from_prio ()
     165static void compute_SIU_IvectMask_from_prio (void)
    166166{
    167167        /*
  • c/src/lib/libbsp/powerpc/mpc8260ads/irq/irq_init.c

    rbd79292 r3dc0d74d  
    2323
    2424extern unsigned int external_exception_vector_prolog_code_size;
    25 extern void external_exception_vector_prolog_code();
     25extern void external_exception_vector_prolog_code(void);
    2626extern unsigned int decrementer_exception_vector_prolog_code_size;
    27 extern void decrementer_exception_vector_prolog_code();
     27extern void decrementer_exception_vector_prolog_code(void);
    2828
    2929extern void BSP_panic(char *s);
     
    3636 * default on/off function
    3737 */
    38 static void nop_func(){}
     38static void nop_func(void){}
    3939/*
    4040 * default isOn function
    4141 */
    42 static int not_connected() {return 0;}
     42static int not_connected(void) {return 0;}
    4343/*
    4444 * default possible isOn function
    4545 */
    46 static int connected() {return 1;}
     46static int connected(void) {return 1;}
    4747
    4848static rtems_irq_connect_data           rtemsIrq[BSP_IRQ_NUMBER];
  • c/src/lib/libbsp/powerpc/mpc8260ads/vectors/vectors_init.c

    rbd79292 r3dc0d74d  
    8989}
    9090
    91 void initialize_exceptions()
     91void initialize_exceptions(void)
    9292{
    9393  int i;
Note: See TracChangeset for help on using the changeset viewer.