From: Michael Chastain Date: Sun, 24 Feb 2002 00:42:39 +0000 (+0000) Subject: 2002-02-23 Michael Chastain X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=04c3b3d429374ed08a16c7d3e3952cd2403a81fb;p=binutils-gdb.git 2002-02-23 Michael Chastain * gdb.threads/linux-dp.c (philosopher): Add a return statement to placate gcc. --- 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