mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
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.
This commit is contained in:
parent
fc1fb585c6
commit
a6d950b914
@ -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
|
||||
|
@ -5,7 +5,8 @@
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
void *
|
||||
static void *
|
||||
__attribute__ ((noreturn))
|
||||
test_thread (void *v_param)
|
||||
{
|
||||
pthread_exit (NULL);
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
void *
|
||||
static void *
|
||||
test_thread (void *v_param)
|
||||
{
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user