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.
This commit is contained in:
Ulrich Drepper 2000-12-27 06:53:38 +00:00
parent fc1fb585c6
commit a6d950b914
3 changed files with 9 additions and 2 deletions

View 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

View File

@ -5,7 +5,8 @@
#include <pthread.h>
#include <unistd.h>
void *
static void *
__attribute__ ((noreturn))
test_thread (void *v_param)
{
pthread_exit (NULL);

View File

@ -4,7 +4,7 @@
#include <pthread.h>
#include <unistd.h>
void *
static void *
test_thread (void *v_param)
{
return NULL;