diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-12-27 06:53:38 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-12-27 06:53:38 +0000 |
commit | a6d950b914460c9a8fcdd3009b8f8406042ea81f (patch) | |
tree | cd423507c91f03fd08f4e05688625fe59e476b15 /linuxthreads/Examples/ex12.c | |
parent | fc1fb585c60817b982956e815ebc4726ef6381f6 (diff) | |
download | glibc-a6d950b914460c9a8fcdd3009b8f8406042ea81f.tar.gz glibc-a6d950b914460c9a8fcdd3009b8f8406042ea81f.tar.xz glibc-a6d950b914460c9a8fcdd3009b8f8406042ea81f.zip |
Update.
2000-12-26 Ulrich Drepper <drepper@redhat.com> * Examples/ex6.c (test_thread): Make static. * Examples/ex12.c (test_thread): Make static and add noreturn attribute.
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); |