--- a/threads.c +++ b/threads.c @@ -30,6 +30,7 @@ int main (int argc, char **argv) { int i; + pthread_t thread; pthread_create (&thread, NULL, &thread_func, NULL);