aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 19:34:42 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 19:34:42 +0000
commitfd77c3615da7e73e590e2d85a86145a003f9ce6b (patch)
treeecca477e8addfc0433d5e807d1eb5e4352342286 /linuxthreads
parentb65d9522d44268c81adcd750bcaa574210668edc (diff)
downloadglibc-fd77c3615da7e73e590e2d85a86145a003f9ce6b.zip
glibc-fd77c3615da7e73e590e2d85a86145a003f9ce6b.tar.gz
glibc-fd77c3615da7e73e590e2d85a86145a003f9ce6b.tar.bz2
Update.
* elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect.
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 c48d713..bc124a1 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 ef66ac3..32e3dbb 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;
}