Skip to content

Commit

Permalink
Fix types in POSIX port
Browse files Browse the repository at this point in the history
Use TaskFunction_t and StackType_t as other ports do.
  • Loading branch information
Jacques GUILLOU committed Feb 17, 2023
1 parent 8252ede commit 995cec9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions portable/ThirdParty/GCC/Posix/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
typedef struct THREAD
{
pthread_t pthread;
pdTASK_CODE pxCode;
TaskFunction_t pxCode;
void * pvParams;
BaseType_t xDying;
struct event * ev;
Expand Down Expand Up @@ -124,9 +124,9 @@ static void prvFatalError( const char * pcCall,
/*
* See header file for description.
*/
portSTACK_TYPE * pxPortInitialiseStack( portSTACK_TYPE * pxTopOfStack,
portSTACK_TYPE * pxEndOfStack,
pdTASK_CODE pxCode,
portSTACK_TYPE * pxPortInitialiseStack( StackType_t * pxTopOfStack,
StackType_t * pxEndOfStack,
TaskFunction_t pxCode,
void * pvParameters )
{
Thread_t * thread;
Expand Down

0 comments on commit 995cec9

Please sign in to comment.