diff --git a/dlls/ntdll/unix/thread.c b/dlls/ntdll/unix/thread.c index 624dff0e5f1..b14b441c094 100644 --- a/dlls/ntdll/unix/thread.c +++ b/dlls/ntdll/unix/thread.c @@ -1013,7 +1013,7 @@ void abort_process( int status ) /*********************************************************************** * exit_thread */ -static void exit_thread( int status ) +static DECLSPEC_NORETURN void exit_thread( int status ) { static void *prev_teb; TEB *teb;