about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex15.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex15.c')
-rw-r--r--linuxthreads/Examples/ex15.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linuxthreads/Examples/ex15.c b/linuxthreads/Examples/ex15.c
index f73b940949..e953b231d7 100644
--- a/linuxthreads/Examples/ex15.c
+++ b/linuxthreads/Examples/ex15.c
@@ -5,6 +5,8 @@
 #include <pthread.h>
 #include <unistd.h>
 
+static void *worker (void *dummy) __attribute__ ((__noreturn__));
+
 static void *
 worker (void *dummy)
 {