From 9403ec5d23e7dc209361b3dbae2fdc184e1684aa Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sat, 29 Dec 2001 13:46:34 +0000 Subject: Update. 2001-12-29 Andreas Jaeger * Examples/ex9.c: Add noreturn attribute for thread. * Examples/ex10.c: Likewise. * Examples/ex13.c (thread_start): Likewise. * Examples/ex15.c (worker): Likewise. * Examples/ex18.c: Include unistd.h for prototype of sleep. --- linuxthreads/Examples/ex15.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linuxthreads/Examples/ex15.c') 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 #include +static void *worker (void *dummy) __attribute__ ((__noreturn__)); + static void * worker (void *dummy) { -- cgit v1.2.3-70-g09d2