aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog4
-rw-r--r--linuxthreads/sysdeps/pthread/timer_routines.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index c48d713524..bc124a13c1 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,9 @@
2002-08-25 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/pthread/timer_routines.c (thread_func): Make the
+ compiler happy by adding a return statement which will never be
+ reached.
+
* tst-context.c (main): Cast to long before casting to pointer.
* Examples/ex17.c (main): Use correct format string.
diff --git a/linuxthreads/sysdeps/pthread/timer_routines.c b/linuxthreads/sysdeps/pthread/timer_routines.c
index ef66ac32aa..32e3dbbbb9 100644
--- a/linuxthreads/sysdeps/pthread/timer_routines.c
+++ b/linuxthreads/sysdeps/pthread/timer_routines.c
@@ -450,6 +450,8 @@ thread_func (void *arg)
forever - but we have to add it for proper nesting. */
pthread_cleanup_pop (1);
+ /* NOTREACHED */
+ return NULL;
}