From 2518516f403f0d61dbf1156ee1edb670fc204fcd Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 22 Mar 2016 07:24:56 +0100 Subject: posix: pthread_exit() is a no-return function --- cpukit/posix/src/pthreadexit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cpukit/posix') diff --git a/cpukit/posix/src/pthreadexit.c b/cpukit/posix/src/pthreadexit.c index 6b3a09af98..6f8a7a72d6 100644 --- a/cpukit/posix/src/pthreadexit.c +++ b/cpukit/posix/src/pthreadexit.c @@ -75,4 +75,5 @@ void pthread_exit( ) { _POSIX_Thread_Exit( _Thread_Get_executing(), value_ptr ); + RTEMS_UNREACHABLE(); } -- cgit v1.2.3