Mark win32's pthread_exit() as NORETURN

Pointed out by Jeff King.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2016-03-01 14:48:24 +01:00
parent 64acc338c5
commit 4f91362c81

View File

@@ -78,7 +78,7 @@ extern int win32_pthread_join(pthread_t *thread, void **value_ptr);
#define pthread_equal(t1, t2) ((t1).tid == (t2).tid)
extern pthread_t pthread_self(void);
static inline int pthread_exit(void *ret)
static inline int NORETURN pthread_exit(void *ret)
{
ExitThread((DWORD)(intptr_t)ret);
}