Changeset a840853 in rtems


Ignore:
Timestamp:
Aug 19, 2008, 11:25:05 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
b79c595
Parents:
1b778dcc
Message:

Add missing prototypes.

Location:
c/src/lib/libbsp/m68k
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/av5282/startup/init5282.c

    r1b778dcc ra840853  
    7171    /* Copy the interrupt vector table to address 0x0 in SDRAM */
    7272    {
    73         extern void INTERRUPT_VECTOR();
     73        extern void INTERRUPT_VECTOR(void);
    7474        uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
    7575        uint32_t *intvec = (uint32_t *)0x0;
  • c/src/lib/libbsp/m68k/csb360/startup/init5272.c

    r1b778dcc ra840853  
    127127    /* Copy the interrupt vector table to SRAM */
    128128    {
    129         extern void INTERRUPT_VECTOR();
     129        extern void INTERRUPT_VECTOR(void);
    130130        uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
    131131        uint32_t *intvec = (uint32_t *)BSP_RAMBAR;
  • c/src/lib/libbsp/m68k/genmcf548x/startup/bspstart.c

    r1b778dcc ra840853  
    189189 */
    190190
    191 void bsp_predriver_hook()
     191void bsp_predriver_hook(void)
    192192{
    193193        /* Do nothing */
     
    198198void bsp_pretasking_hook(void);         /* m68k version */
    199199
    200 void bsp_calc_mem_layout()
     200void bsp_calc_mem_layout(void)
    201201{
    202202  /*
  • c/src/lib/libbsp/m68k/mcf5206elite/startup/init5206e.c

    r1b778dcc ra840853  
    201201
    202202    {
    203         extern void INTERRUPT_VECTOR();
     203        extern void INTERRUPT_VECTOR(void);
    204204        uint32_t         *inttab = (uint32_t*)&INTERRUPT_VECTOR;
    205205        uint32_t         *intvec = (uint32_t*)BSP_MEM_ADDR_ESRAM;
  • c/src/lib/libbsp/m68k/mcf52235/clock/clock.c

    r1b778dcc ra840853  
    5555 * Turn off the clock
    5656 */
    57 static void Clock_driver_support_shutdown_hardware()
     57static void Clock_driver_support_shutdown_hardware(void)
    5858{
    5959  MCF_PIT1_PCSR &= ~MCF_PIT_PCSR_EN;
     
    6565 * We need to have 1 interrupt every BSP_Configuration.microseconds_per_tick
    6666 */
    67 static void Clock_driver_support_initialize_hardware()
     67static void Clock_driver_support_initialize_hardware(void)
    6868{
    6969  int level;
  • c/src/lib/libbsp/m68k/mcf52235/startup/init52235.c

    r1b778dcc ra840853  
    88
    99extern void _wr_vbr(uint32_t);
    10 extern void init_main();
     10extern void init_main(void);
    1111extern int boot_card(int, char **, char **);
    1212
  • c/src/lib/libbsp/m68k/mcf5235/startup/init5235.c

    r1b778dcc ra840853  
    7979    /* Copy the interrupt vector table to address 0x0 in SDRAM */
    8080    {
    81         extern void INTERRUPT_VECTOR();
     81        extern void INTERRUPT_VECTOR(void);
    8282        uint32_t *inttab = (uint32_t *)&INTERRUPT_VECTOR;
    8383        uint32_t *intvec = (uint32_t *)0x0;
  • c/src/lib/libbsp/m68k/mcf5329/clock/clock.c

    r1b778dcc ra840853  
    5555 * Turn off the clock
    5656 */
    57 static void Clock_driver_support_shutdown_hardware()
     57static void Clock_driver_support_shutdown_hardware(void)
    5858{
    5959  MCF_PIT3_PCSR &= ~MCF_PIT_PCSR_EN;
     
    6565 * We need to have 1 interrupt every BSP_Configuration.microseconds_per_tick
    6666 */
    67 static void Clock_driver_support_initialize_hardware()
     67static void Clock_driver_support_initialize_hardware(void)
    6868{
    6969  int level;
  • c/src/lib/libbsp/m68k/mcf5329/startup/init5329.c

    r1b778dcc ra840853  
    99
    1010extern void _wr_vbr(uint32_t);
    11 extern void init_main();
     11extern void init_main(void);
    1212extern int boot_card(int, char **, char **);
    1313
Note: See TracChangeset for help on using the changeset viewer.