Skip to content

Commit 8661615

Browse files
Jacques GUILLOUjacky309
Jacques GUILLOU
authored andcommitted
Fix types in POSIX port
Use TaskFunction_t and StackType_t as other ports do.
1 parent ba1deb5 commit 8661615

File tree

1 file changed

+4
-4
lines changed
  • portable/ThirdParty/GCC/Posix

1 file changed

+4
-4
lines changed

portable/ThirdParty/GCC/Posix/port.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
typedef struct THREAD
7474
{
7575
pthread_t pthread;
76-
pdTASK_CODE pxCode;
76+
TaskFunction_t pxCode;
7777
void * pvParams;
7878
BaseType_t xDying;
7979
struct event * ev;
@@ -124,9 +124,9 @@ static void prvFatalError( const char * pcCall,
124124
/*
125125
* See header file for description.
126126
*/
127-
portSTACK_TYPE * pxPortInitialiseStack( portSTACK_TYPE * pxTopOfStack,
128-
portSTACK_TYPE * pxEndOfStack,
129-
pdTASK_CODE pxCode,
127+
portSTACK_TYPE * pxPortInitialiseStack( StackType_t * pxTopOfStack,
128+
StackType_t * pxEndOfStack,
129+
TaskFunction_t pxCode,
130130
void * pvParameters )
131131
{
132132
Thread_t * thread;

0 commit comments

Comments
 (0)