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

[kern/syscall] Add void type to function prototypes with no parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/syscalls/syscalls.h

    r457 r479  
    5858 * @ return always 0.
    5959 *****************************************************************************************/
    60 int sys_thread_yield();
     60int sys_thread_yield( void );
    6161
    6262/******************************************************************************************
     
    454454 * @ returns the process PID for the calling thread.
    455455 *****************************************************************************************/
    456 int sys_getpid();
     456int sys_getpid( void );
    457457
    458458/******************************************************************************************
     
    470470 * @ if failure, returns -1 to parent / no child process is created.
    471471 *****************************************************************************************/
    472 int sys_fork();
     472int sys_fork( void );
    473473
    474474/******************************************************************************************
     
    601601 * @ return 0 if success / returns -1 if failure.
    602602 *****************************************************************************************/
    603 int sys_thread_sleep();
     603int sys_thread_sleep( void );
    604604
    605605/******************************************************************************************
     
    610610 * @ return 0 if success / return -1 if failure.
    611611 *****************************************************************************************/
    612 int sys_thread_wakeup();
     612int sys_thread_wakeup( void );
    613613
    614614/******************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.