about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-12-27 06:53:38 +0000
committerUlrich Drepper <drepper@redhat.com>2000-12-27 06:53:38 +0000
commita6d950b914460c9a8fcdd3009b8f8406042ea81f (patch)
treecd423507c91f03fd08f4e05688625fe59e476b15 /linuxthreads
parentfc1fb585c60817b982956e815ebc4726ef6381f6 (diff)
downloadglibc-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')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/Examples/ex12.c3
-rw-r--r--linuxthreads/Examples/ex6.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 1078f99c06..2f3a6ed796 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -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
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);
diff --git a/linuxthreads/Examples/ex6.c b/linuxthreads/Examples/ex6.c
index 05f92b6a71..f8ce0662c2 100644
--- a/linuxthreads/Examples/ex6.c
+++ b/linuxthreads/Examples/ex6.c
@@ -4,7 +4,7 @@
 #include <pthread.h>
 #include <unistd.h>
 
-void *
+static void *
 test_thread (void *v_param)
 {
   return NULL;