mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03: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:
@ -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>
|
2000-12-18 Jes Sorensen <jes@linuxcare.com>
|
||||||
|
|
||||||
* linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
|
* linuxthreads/sysdeps/ia64/pt-machine.h: __compare_and_swap
|
||||||
|
@ -5,7 +5,8 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
void *
|
static void *
|
||||||
|
__attribute__ ((noreturn))
|
||||||
test_thread (void *v_param)
|
test_thread (void *v_param)
|
||||||
{
|
{
|
||||||
pthread_exit (NULL);
|
pthread_exit (NULL);
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
void *
|
static void *
|
||||||
test_thread (void *v_param)
|
test_thread (void *v_param)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Reference in New Issue
Block a user