Changeset 5df7515e in rtems


Ignore:
Timestamp:
Aug 19, 2008, 10:28:06 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
686d078
Parents:
d54ef06
Message:

Add missing prototypes.

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68302/timer/timer.c

    rd54ef06 r5df7515e  
    4343rtems_boolean Timer_driver_Find_average_overhead;
    4444
    45 rtems_isr timerisr();
     45rtems_isr timerisr(void);
    4646
    4747void Timer_initialize( void )
  • c/src/lib/libbsp/m68k/gen68340/timer/timer.c

    rd54ef06 r5df7515e  
    5555#define max(a,b) (((a)>(b)) ? (a) : (b))
    5656
    57 void (*Restart_Fifo_Full_A_Timer)();
    58 void (*Restart_Check_A_Timer)();
    59 void (*Restart_Fifo_Full_B_Timer)();
    60 void (*Restart_Check_B_Timer)();
     57void (*Restart_Fifo_Full_A_Timer)(void);
     58void (*Restart_Check_A_Timer)(void);
     59void (*Restart_Fifo_Full_B_Timer)(void);
     60void (*Restart_Check_B_Timer)(void);
    6161
    6262int preload = 0;
  • c/src/lib/libbsp/m68k/idp/clock/ckinit.c

    rd54ef06 r5df7515e  
    3535
    3636extern rtems_configuration_table Configuration;
    37 extern void led_putnum();
    38 void Disable_clock();
     37extern void led_putnum(void);
     38void Disable_clock(void);
    3939
    4040#define CLOCK_VECTOR 0x4D
     
    8484}
    8585
    86 void Disable_clock()
     86void Disable_clock(void)
    8787{
    8888        /* Disable timer */
     
    9090}
    9191
    92 void Install_clock( clock_isr )
    93 rtems_isr_entry clock_isr;
     92void Install_clock(
     93  rtems_isr_entry clock_isr )
    9494{
    9595  Clock_driver_ticks = 0;
  • c/src/lib/libbsp/m68k/idp/console/leds.c

    rd54ef06 r5df7515e  
    77#include "leds.h"
    88
    9 void zylons();
    10 void clear_leds();
     9void zylons(void);
     10void clear_leds(void);
    1111
    1212/*
  • c/src/lib/libbsp/m68k/idp/console/mc68ec.c

    rd54ef06 r5df7515e  
    1212 *          use the timer, but I'm waiting for docs. (sigh)
    1313 */
    14 void rtems_bsp_delay(num)
    15 int num;
     14void rtems_bsp_delay(int num)
    1615{
    1716  while (num--)
  • c/src/lib/libbsp/m68k/idp/startup/bspstart.c

    rd54ef06 r5df7515e  
    2626#define DELAY 5000
    2727
    28 void led_putnum();
     28void led_putnum(void);
    2929
    3030/*
  • c/src/lib/libbsp/m68k/idp/timer/timer.c

    rd54ef06 r5df7515e  
    3535rtems_boolean Timer_driver_Find_average_overhead;
    3636
    37 rtems_isr timerisr();
     37rtems_isr timerisr(void);
    3838
    39 void Timer_initialize()
     39void Timer_initialize(void)
    4040{
    4141  (void) set_vector( timerisr, TIMER_VECTOR, 0 );  /* install ISR */
     
    6565#define LEAST_VALID       10 /* Don't trust a value lower than this */
    6666
    67 int Read_timer()
     67int Read_timer(void)
    6868{
    6969  uint8_t         data;
  • c/src/lib/libbsp/m68k/mvme136/startup/bspclean.c

    rd54ef06 r5df7515e  
    1717#include <rtems/zilog/z8036.h>
    1818
    19 void bsp_return_to_monitor_trap()
     19void bsp_return_to_monitor_trap(void)
    2020{
    2121  extern void start( void  );
  • c/src/lib/libbsp/m68k/mvme136/timer/timer.c

    rd54ef06 r5df7515e  
    3232rtems_boolean Timer_driver_Find_average_overhead;
    3333
    34 rtems_isr timerisr();
     34rtems_isr timerisr(void);
    3535
    36 void Timer_initialize()
     36void Timer_initialize(void)
    3737{
    3838  (void) set_vector( timerisr, 66, 0 );       /* install ISR */
     
    6666#define LEAST_VALID       10 /* Don't trust a value lower than this */
    6767
    68 int Read_timer()
     68int Read_timer(void)
    6969{
    7070/*
Note: See TracChangeset for help on using the changeset viewer.