mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 01:58:32 -04:00
Build with -Wmissing-prototypes flags vPortYieldFromISR() in the Posix port. (#409)
There's already a portYIELD_FROM_ISR() macro that calls vPortYield() which wraps the FromISR code. It doesn't appear that vPortYieldFromISR() is intended to be publicly accessible in this port so I've marked it as private to silence the warning. event_create() also got flagged due to missing void in prototype. Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
parent
1ec7e50722
commit
cd0b7fc271
3 changed files with 5 additions and 4 deletions
|
@ -39,7 +39,7 @@ struct event
|
|||
bool event_triggered;
|
||||
};
|
||||
|
||||
struct event * event_create()
|
||||
struct event * event_create( void )
|
||||
{
|
||||
struct event * ev = malloc( sizeof( struct event ) );
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
|
||||
struct event;
|
||||
|
||||
struct event * event_create();
|
||||
struct event * event_create( void );
|
||||
void event_delete( struct event * );
|
||||
bool event_wait( struct event * ev );
|
||||
bool event_wait_timed( struct event * ev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue