Skip to content

Commit

Permalink
options/posix: mark pthread_exit as noreturn
Browse files Browse the repository at this point in the history
  • Loading branch information
no92 committed Jan 4, 2024
1 parent 20657a2 commit b9bd82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/posix/include/pthread.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ int pthread_create(pthread_t *__restrict, const pthread_attr_t *__restrict,
void *(*) (void *), void *__restrict);
pthread_t pthread_self(void);
int pthread_equal(pthread_t, pthread_t);
int pthread_exit(void *);
int pthread_exit(void *) __attribute__((noreturn));

int pthread_join(pthread_t, void **);
int pthread_detach(pthread_t);
Expand Down

0 comments on commit b9bd82c

Please sign in to comment.