mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-04 05:48:12 +08:00
Update.
2001-12-29 Andreas Jaeger <aj@suse.de> * Examples/ex9.c: Add noreturn attribute for thread. * Examples/ex10.c: Likewise. * Examples/ex13.c (thread_start): Likewise. * Examples/ex15.c (worker): Likewise. * Examples/ex18.c: Include unistd.h for prototype of sleep.
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include <pthread.h>
|
||||
#include <unistd.h>
|
||||
|
||||
static void *worker (void *dummy) __attribute__ ((__noreturn__));
|
||||
|
||||
static void *
|
||||
worker (void *dummy)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user