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:
@ -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;
|
||||
|
Reference in New Issue
Block a user