diff --git a/test cases/common/102 threads/threadprog.c b/test cases/common/102 threads/threadprog.c index 2dff169c6..47a5d1805 100644 --- a/test cases/common/102 threads/threadprog.c +++ b/test cases/common/102 threads/threadprog.c @@ -9,9 +9,9 @@ DWORD WINAPI thread_func(LPVOID ignored) { } int main(int argc, char **argv) { - printf("Starting thread.\n"); - HANDLE th; DWORD id; + HANDLE th; + printf("Starting thread.\n"); th = CreateThread(NULL, 0, thread_func, NULL, 0, &id); WaitForSingleObject(th, INFINITE); printf("Stopped thread.\n");