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
+2 -1
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);
+1 -1
View File
@@ -4,7 +4,7 @@
#include <pthread.h>
#include <unistd.h>
void *
static void *
test_thread (void *v_param)
{
return NULL;