From a6d950b914460c9a8fcdd3009b8f8406042ea81f Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 27 Dec 2000 06:53:38 +0000 Subject: Update. 2000-12-26 Ulrich Drepper * Examples/ex6.c (test_thread): Make static. * Examples/ex12.c (test_thread): Make static and add noreturn attribute. --- linuxthreads/Examples/ex12.c | 3 ++- linuxthreads/Examples/ex6.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'linuxthreads/Examples') diff --git a/linuxthreads/Examples/ex12.c b/linuxthreads/Examples/ex12.c index 62f2f70..e986fec 100644 --- a/linuxthreads/Examples/ex12.c +++ b/linuxthreads/Examples/ex12.c @@ -5,7 +5,8 @@ #include #include -void * +static void * +__attribute__ ((noreturn)) test_thread (void *v_param) { pthread_exit (NULL); diff --git a/linuxthreads/Examples/ex6.c b/linuxthreads/Examples/ex6.c index 05f92b6..f8ce066 100644 --- a/linuxthreads/Examples/ex6.c +++ b/linuxthreads/Examples/ex6.c @@ -4,7 +4,7 @@ #include #include -void * +static void * test_thread (void *v_param) { return NULL; -- cgit v1.1