diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-22 07:24:56 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-23 07:37:14 +0100 |
commit | 2518516f403f0d61dbf1156ee1edb670fc204fcd (patch) | |
tree | b903071458e7ebbc24bced8ed1b5f10d1324b489 | |
parent | score: Add and use RTEMS_UNREACHABLE (diff) | |
download | rtems-2518516f403f0d61dbf1156ee1edb670fc204fcd.tar.bz2 |
posix: pthread_exit() is a no-return function
-rw-r--r-- | cpukit/posix/src/pthreadexit.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |