Changeset 477 for trunk


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

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

Location:
trunk/libs/libpthread
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libs/libpthread/pthread.c

    r473 r477  
    7575
    7676///////////////////
    77 int pthread_yield()
     77int pthread_yield( void )
    7878{
    7979    return hal_user_syscall( SYS_THREAD_YIELD, 0, 0, 0, 0 );
  • trunk/libs/libpthread/pthread.h

    r457 r477  
    8383 * @ return always 0.
    8484 ********************************************************************************************/
    85 int pthread_yield();
     85int pthread_yield( void );
    8686
    8787//////////////////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.