about summary refs log tree commit diff
path: root/linuxthreads/Examples/ex9.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/Examples/ex9.c')
-rw-r--r--linuxthreads/Examples/ex9.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/Examples/ex9.c b/linuxthreads/Examples/ex9.c
index 0c08741003..dafb4065de 100644
--- a/linuxthreads/Examples/ex9.c
+++ b/linuxthreads/Examples/ex9.c
@@ -1,5 +1,5 @@
 /* Tests for pthread_barrier_* functions.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    Contributed by Kaz Kylheku <kaz@ashi.footprints.net>, 2000.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@
 #define NUM_THREADS 10
 #define NUM_ITERS   500
 
-static void *thread (void *);
+static void *thread (void *)  __attribute__ ((__noreturn__));
 static pthread_barrier_t barrier;
 
 int