Changeset f8506230 in rtems


Ignore:
Timestamp:
Aug 20, 2008, 4:28:02 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
520b092
Parents:
5e82859
Message:

Add missing prototypes.

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

Legend:

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

    r5e82859 rf8506230  
    258258
    259259
    260 int BSP_get_clock_irq_level()
     260int BSP_get_clock_irq_level(void)
    261261{
    262262  /*
  • c/src/lib/libbsp/powerpc/gen5200/irq/irq_init.c

    r5e82859 rf8506230  
    7878
    7979extern unsigned int external_exception_vector_prolog_code_size;
    80 extern void external_exception_vector_prolog_code();
     80extern void external_exception_vector_prolog_code(void);
    8181extern unsigned int decrementer_exception_vector_prolog_code_size;
    82 extern void decrementer_exception_vector_prolog_code();
     82extern void decrementer_exception_vector_prolog_code(void);
    8383extern unsigned int system_management_exception_vector_prolog_code_size;
    84 extern void system_management_exception_vector_prolog_code();
     84extern void system_management_exception_vector_prolog_code(void);
    8585
    8686extern void BSP_panic(char *s);
     
    9393 * default on/off function
    9494 */
    95 static void nop_func(){}
     95static void nop_func(void){}
    9696/*
    9797 * default isOn function
    9898 */
    99 static int not_connected() {return 0;}
     99static int not_connected(void) {return 0;}
    100100/*
    101101 * default possible isOn function
    102102 */
    103 static int connected() {return 1;}
     103static int connected(void) {return 1;}
    104104
    105105static rtems_irq_connect_data     rtemsIrq[BSP_IRQ_NUMBER];
  • c/src/lib/libbsp/powerpc/gen5200/vectors/vectors.h

    r5e82859 rf8506230  
    8282 */
    8383
    84 extern  void default_exception_vector_code_prolog();
     84extern  void default_exception_vector_code_prolog(void);
    8585extern  int  default_exception_vector_code_prolog_size;
    8686
     
    9393 */
    9494extern void * codemove(void *, const void *, unsigned int, unsigned long);
    95 extern void initialize_exceptions();
     95extern void initialize_exceptions(void);
    9696
    9797typedef struct {
  • c/src/lib/libbsp/powerpc/gen5200/vectors/vectors_init.c

    r5e82859 rf8506230  
    159159}
    160160
    161 void initialize_exceptions()
     161void initialize_exceptions(void)
    162162{
    163163  int i;
Note: See TracChangeset for help on using the changeset viewer.