From fd77c3615da7e73e590e2d85a86145a003f9ce6b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 25 Aug 2002 19:34:42 +0000 Subject: Update. * elf/dl-load.c: Fix typo in comment. Add a few more __builtin_expect. --- linuxthreads/ChangeLog | 4 ++++ linuxthreads/sysdeps/pthread/timer_routines.c | 2 ++ 2 files changed, 6 insertions(+) (limited to 'linuxthreads') 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 + * 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; } -- cgit v1.2.3