* include/pthread.h (pthread_exit): Mark as "noreturn".

This commit is contained in:
Christopher Faylor
2013-01-14 21:17:37 +00:00
parent 656a20cbd1
commit b8540dae6c
2 changed files with 5 additions and 1 deletions

View File

@ -137,7 +137,7 @@ int pthread_create (pthread_t *, const pthread_attr_t *,
void *(*)(void *), void *);
int pthread_detach (pthread_t);
int pthread_equal (pthread_t, pthread_t);
void pthread_exit (void *);
void pthread_exit (void *) __attribute__ ((noreturn));
int pthread_getcpuclockid (pthread_t, clockid_t *);
int pthread_getschedparam (pthread_t, int *, struct sched_param *);
void *pthread_getspecific (pthread_key_t);