Update.
authorUlrich Drepper <drepper@redhat.com>
Wed, 27 Dec 2000 06:53:38 +0000 (06:53 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 27 Dec 2000 06:53:38 +0000 (06:53 +0000)
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.

linuxthreads/ChangeLog
linuxthreads/Examples/ex12.c
linuxthreads/Examples/ex6.c

index 1078f99..2f3a6ed 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2000-12-18  Jes Sorensen  <jes@linuxcare.com>
 
        * linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
index 62f2f70..e986fec 100644 (file)
@@ -5,7 +5,8 @@
 #include <pthread.h>
 #include <unistd.h>
 
-void *
+static void *
+__attribute__ ((noreturn))
 test_thread (void *v_param)
 {
   pthread_exit (NULL);
index 05f92b6..f8ce066 100644 (file)
@@ -4,7 +4,7 @@
 #include <pthread.h>
 #include <unistd.h>
 
-void *
+static void *
 test_thread (void *v_param)
 {
   return NULL;