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:
Andreas Jaeger
2001-12-29 13:46:34 +00:00
parent 1a0ad47f26
commit 9403ec5d23
5 changed files with 19 additions and 6 deletions
+2
View File
@@ -5,6 +5,8 @@
#include <pthread.h>
#include <unistd.h>
static void *worker (void *dummy) __attribute__ ((__noreturn__));
static void *
worker (void *dummy)
{