Ignore:
Timestamp:
Aug 21, 2018, 9:51:40 PM (6 years ago)
Author:
viala@…
Message:

[hal/mips32] Add void type to function prototypes with no parameter

Location:
trunk/hal/tsar_mips32/drivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/drivers/soclib_pic.c

    r468 r481  
    5050
    5151///////////////////////////////
    52 uint32_t soclib_pic_wti_alloc()
     52uint32_t soclib_pic_wti_alloc( void )
    5353{
    5454    uint32_t index;
     
    6969
    7070///////////////////////////////////////
    71 inline uint32_t * soclib_pic_xcu_base()
     71inline uint32_t * soclib_pic_xcu_base( void )
    7272{
    7373    return ((soclib_pic_cluster_t *)(LOCAL_CLUSTER->pic_extend))->xcu_base;
     
    112112
    113113/////////////////////////////
    114 void soclib_pic_irq_handler()
     114void soclib_pic_irq_handler( void )
    115115{
    116116    uint32_t   hwi_status;   // HWI index + 1  / no pending HWI if 0
     
    532532
    533533////////////////////////////
    534 void soclib_pic_enable_ipi()
     534void soclib_pic_enable_ipi( void )
    535535{
    536536    // calling core local index
     
    557557
    558558/////////////////////////
    559 void soclib_pic_ack_ipi()
     559void soclib_pic_ack_ipi( void )
    560560{
    561561    // get calling core local index
  • trunk/hal/tsar_mips32/drivers/soclib_pic.h

    r451 r481  
    241241 * core local index.
    242242 *****************************************************************************************/
    243 void soclib_pic_enable_ipi();
     243void soclib_pic_enable_ipi( void );
    244244
    245245/******************************************************************************************
     
    257257 * core local index.
    258258 *****************************************************************************************/
    259 void soclib_pic_ack_ipi();
     259void soclib_pic_ack_ipi( void );
    260260
    261261
     
    277277 * large for the number of cores in the architecture, and the core goes to sleep.
    278278 *****************************************************************************************/
    279 uint32_t soclib_pic_wti_alloc();
     279uint32_t soclib_pic_wti_alloc( void );
    280280
    281281/******************************************************************************************
    282282 * This function returns the local pointer on the local XCU base segment.
    283283 *****************************************************************************************/
    284 uint32_t * soclib_pic_xcu_base();
     284uint32_t * soclib_pic_xcu_base( void );
    285285
    286286/******************************************************************************************
     
    304304 * This SOCLIB PIC specific is the call-back function is the interrupt handler.
    305305 *****************************************************************************************/
    306 void soclib_pic_irq_handler();
     306void soclib_pic_irq_handler( void );
    307307
    308308
Note: See TracChangeset for help on using the changeset viewer.