diff options
Diffstat (limited to 'linuxthreads/Examples/ex12.c')
-rw-r--r-- | linuxthreads/Examples/ex12.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/Examples/ex12.c b/linuxthreads/Examples/ex12.c index 62f2f70394..e986fec97f 100644 --- a/linuxthreads/Examples/ex12.c +++ b/linuxthreads/Examples/ex12.c @@ -5,7 +5,8 @@ #include <pthread.h> #include <unistd.h> -void * +static void * +__attribute__ ((noreturn)) test_thread (void *v_param) { pthread_exit (NULL); |