diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2d8b3ac83d9..2fe7580770b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-02-23 Michael Chastain + + * gdb.threads/linux-dp.c (philosopher): Add a return statement + to placate gcc. + 2002-02-23 Michael Chastain * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on diff --git a/gdb/testsuite/gdb.threads/linux-dp.c b/gdb/testsuite/gdb.threads/linux-dp.c index b66649b6411..c3775bd62ae 100644 --- a/gdb/testsuite/gdb.threads/linux-dp.c +++ b/gdb/testsuite/gdb.threads/linux-dp.c @@ -153,6 +153,8 @@ philosopher (void *data) pthread_mutex_unlock (&fork_mutex[(n + 1) % num_philosophers]); random_delay (); } + + return (void *) 0; } int