Changeset 9212cb3 in rtems


Ignore:
Timestamp:
Aug 18, 2008, 6:06:18 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
de26394
Parents:
db975529
Message:

Add missing prototypes.

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/console/ps2_mouse.c

    rdb975529 r9212cb3  
    5959#define MAX_RETRIES     60              /* some aux operations take long time*/
    6060
    61 static void ps2_mouse_interrupt();
     61static void ps2_mouse_interrupt(void);
    6262
    6363static void ( *driver_input_handler_ps2 )( void *,  char *, int ) = 0;
     
    231231}
    232232
    233 static void ps2_mouse_interrupt()
     233static void ps2_mouse_interrupt(void)
    234234{
    235235        handle_kbd_event();
     
    422422#define AUX_DEV ((void *)queue)
    423423
    424 static int release_aux()
     424static int release_aux(void)
    425425{
    426426        if (--aux_count)
     
    437437 */
    438438
    439 static int open_aux()
     439static int open_aux(void)
    440440{
    441441  rtems_status_code status;
  • c/src/lib/libbsp/i386/pc386/timer/timer.c

    rdb975529 r9212cb3  
    7777 */
    7878
    79 void Timer_exit();
     79void Timer_exit(void);
    8080
    8181/*-------------------------------------------------------------------------+
     
    311311
    312312uint32_t
    313 Read_timer()
     313Read_timer(void)
    314314{
    315315    return (*Read_timer_function)();
     
    317317
    318318void
    319 Timer_exit()
     319Timer_exit(void)
    320320{
    321321    return (*Timer_exit_function)();
     
    366366| Returns: number of clock bits elapsed since last load.
    367367+--------------------------------------------------------------------------*/
    368 unsigned int readTimer0()
     368unsigned int readTimer0(void)
    369369{
    370370  unsigned short lsb, msb;
     
    383383}
    384384
    385 void Timer0Reset()
     385void Timer0Reset(void)
    386386{
    387387  loadTimerValue(0xffff);
  • c/src/lib/libbsp/i386/shared/irq/irq_init.c

    rdb975529 r9212cb3  
    2121 * rtems prologue generated in irq_asm.S
    2222 */
    23 extern void rtems_irq_prologue_0();
    24 extern void rtems_irq_prologue_1();
    25 extern void rtems_irq_prologue_2();
    26 extern void rtems_irq_prologue_3();
    27 extern void rtems_irq_prologue_4();
    28 extern void rtems_irq_prologue_5();
    29 extern void rtems_irq_prologue_6();
    30 extern void rtems_irq_prologue_7();
    31 extern void rtems_irq_prologue_8();
    32 extern void rtems_irq_prologue_9();
    33 extern void rtems_irq_prologue_10();
    34 extern void rtems_irq_prologue_11();
    35 extern void rtems_irq_prologue_12();
    36 extern void rtems_irq_prologue_13();
    37 extern void rtems_irq_prologue_14();
    38 extern void rtems_irq_prologue_15();
     23extern void rtems_irq_prologue_0(void);
     24extern void rtems_irq_prologue_1(void);
     25extern void rtems_irq_prologue_2(void);
     26extern void rtems_irq_prologue_3(void);
     27extern void rtems_irq_prologue_4(void);
     28extern void rtems_irq_prologue_5(void);
     29extern void rtems_irq_prologue_6(void);
     30extern void rtems_irq_prologue_7(void);
     31extern void rtems_irq_prologue_8(void);
     32extern void rtems_irq_prologue_9(void);
     33extern void rtems_irq_prologue_10(void);
     34extern void rtems_irq_prologue_11(void);
     35extern void rtems_irq_prologue_12(void);
     36extern void rtems_irq_prologue_13(void);
     37extern void rtems_irq_prologue_14(void);
     38extern void rtems_irq_prologue_15(void);
    3939/*
    4040 * default idt vector
    4141 */
    42 extern void default_raw_idt_handler();
     42extern void default_raw_idt_handler(void);
    4343/*
    4444 * default on/off function
    4545 */
    46 static void nop_func(){}
     46static void nop_func(void){}
    4747/*
    4848 * default isOn function
    4949 */
    50 static int not_connected() {return 0;}
     50static int not_connected(void) {return 0;}
    5151
    5252static rtems_raw_irq_connect_data       idtHdl[IDT_SIZE];
     
    105105static rtems_raw_irq_global_settings raw_initial_config;
    106106
    107 void raw_idt_notify()
     107void raw_idt_notify(void)
    108108{
    109109  printk("raw_idt_notify has been called \n");
    110110}
    111111
    112 void  rtems_irq_mngt_init()
     112void  rtems_irq_mngt_init(void)
    113113{
    114114    int                         i;
  • c/src/lib/libbsp/shared/tod.c

    rdb975529 r9212cb3  
    1919extern rtems_device_minor_number  RTC_Minor;
    2020
    21 int RTC_Present;
    22 void setRealTimeToRTEMS(void);
     21extern int RTC_Present;
     22extern void setRealTimeToRTEMS(void);
    2323
    2424/*
     
    139139 */
    140140
    141 void setRealTimeFromRTEMS()
     141void setRealTimeFromRTEMS(void)
    142142{
    143143  rtems_time_of_day rtems_tod;
     
    223223uint32_t   _TOD_To_seconds( rtems_time_of_day *tod );
    224224
    225 int checkRealTime()
     225int checkRealTime(void)
    226226{
    227227  rtems_time_of_day rtems_tod;
Note: See TracChangeset for help on using the changeset viewer.