Ignore:
Timestamp:
Aug 25, 2018, 6:28:18 PM (6 years ago)
Author:
viala@…
Message:

Add void type on function that takes no parameters, fix invalid call.

Fix invalid calls to thread_can_yield.

In file included from kern/chdev.c:29:
kern/chdev.c: In function 'chdev_sequencial_server':
kern/chdev.c:329:21: error: too many arguments to function 'thread_can_yield'

assert( thread_can_yield( server ) , "illegal sched_yield\n" );

~

Also fixed signature of mapper_create.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/kern/process.h

    r485 r503  
    176176 * @ returns pointer on process descriptor if success / return NULL if failure
    177177 ********************************************************************************************/
    178 process_t * process_alloc();
     178process_t * process_alloc( void );
    179179
    180180/*********************************************************************************************
Note: See TracChangeset for help on using the changeset viewer.