From ccd54344d904b657123e4e4ba795a32212382be2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 7 Jan 2016 09:55:45 +0100 Subject: score: Introduce Thread_Entry_information This avoids potential dead code in _Thread_Handler(). It gets rid of the dangerous function pointer casts. Update #2514. --- cpukit/sapi/include/rtems/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/sapi/include/rtems') diff --git a/cpukit/sapi/include/rtems/config.h b/cpukit/sapi/include/rtems/config.h index 9a9d0a3694..d73e9b8041 100644 --- a/cpukit/sapi/include/rtems/config.h +++ b/cpukit/sapi/include/rtems/config.h @@ -181,7 +181,7 @@ typedef struct { * This element points to the BSP's optional idle task which may override * the default one provided with RTEMS. */ - Thread (*idle_task)( uintptr_t ); + void *(*idle_task)( uintptr_t ); /** * This field specifies the size of the IDLE task's stack. If less than or -- cgit v1.2.3