diff options
Diffstat (limited to 'libmudflap/mf-hooks3.c')
-rw-r--r-- | libmudflap/mf-hooks3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmudflap/mf-hooks3.c b/libmudflap/mf-hooks3.c index b844ee5c2b5..d315b8224a0 100644 --- a/libmudflap/mf-hooks3.c +++ b/libmudflap/mf-hooks3.c @@ -597,4 +597,5 @@ WRAPPER(void, pthread_exit, void *rc) /* __mf_state = reentrant; */ CALL_REAL (pthread_exit, rc); /* NOTREACHED */ + exit (0); /* Satisfy noreturn attribute of pthread_exit. */ } |