Changeset 483 for trunk/kernel/devices


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

[devices] Add void type to function prototypes with no parameter

Location:
trunk/kernel/devices
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_fbf.c

    r471 r483  
    8484
    8585///////////////////////
    86 error_t dev_fbf_alloc()
     86error_t dev_fbf_alloc( void )
    8787{
    8888    // get extended pointer on FBF chdev descriptor
     
    101101
    102102///////////////////
    103 void dev_fbf_free()
     103void dev_fbf_free( void )
    104104{
    105105    // get extended pointer on FBF chdev descriptor
  • trunk/kernel/devices/dev_fbf.h

    r457 r483  
    118118 * @ return 0 if success / return EINVAL if frame buffer already allocated.
    119119 *****************************************************************************************/
    120 error_t dev_fbf_alloc();
     120error_t dev_fbf_alloc( void );
    121121
    122122/******************************************************************************************
    123123 * This function releases the exclusive ownership of the frame buffer.
    124124 *****************************************************************************************/
    125 void dev_fbf_free();
     125void dev_fbf_free( void );
    126126
    127127/******************************************************************************************
  • trunk/kernel/devices/dev_pic.c

    r457 r483  
    150150
    151151/////////////////////////
    152 void dev_pic_enable_ipi()
     152void dev_pic_enable_ipi( void )
    153153{
    154154
     
    195195
    196196//////////////////////
    197 void dev_pic_ack_ipi()
     197void dev_pic_ack_ipi( void )
    198198{
    199199
     
    217217
    218218/////////////////////////////
    219 void dev_pic_inputs_display()
     219void dev_pic_inputs_display( void )
    220220{
    221221    uint32_t k;
  • trunk/kernel/devices/dev_pic.h

    r457 r483  
    227227 * This function activates the IPI_IRQ for the calling core.
    228228 ****************************************************************************************/
    229 void dev_pic_enable_ipi();
     229void dev_pic_enable_ipi( void );
    230230
    231231/*****************************************************************************************
     
    243243 * in the local LAPIC component.
    244244 ****************************************************************************************/
    245 void dev_pic_ack_ipi();
     245void dev_pic_ack_ipi( void );
    246246
    247247/*****************************************************************************************
     
    249249 * that register the input IRQS for the external IOPIC controller.
    250250 ****************************************************************************************/
    251 void dev_pic_inputs_display();
     251void dev_pic_inputs_display( void );
    252252
    253253#endif  /* _DEV_PIC_H_ */
Note: See TracChangeset for help on using the changeset viewer.