2002-02-23 Michael Chastain <mec@shout.net>
authorMichael Chastain <mec@google.com>
Sun, 24 Feb 2002 00:42:39 +0000 (00:42 +0000)
committerMichael Chastain <mec@google.com>
Sun, 24 Feb 2002 00:42:39 +0000 (00:42 +0000)
* gdb.threads/linux-dp.c (philosopher): Add a return statement
to placate gcc.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/linux-dp.c

index 2d8b3ac83d955e5e1acb7c48f1f7ebd58f39445d..2fe7580770b2a94d3ce9f870834e49e8d06a5b8f 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-23  Michael Chastain  <mec@shout.net>
+
+       * gdb.threads/linux-dp.c (philosopher): Add a return statement
+       to placate gcc.
+
 2002-02-23  Michael Chastain  <mec@shout.net>
 
        * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
index b66649b6411bd5760ccdfba3d5c6ba32af50245f..c3775bd62ae3dcf13d9ce5a0978189cd06734daa 100644 (file)
@@ -153,6 +153,8 @@ philosopher (void *data)
        pthread_mutex_unlock (&fork_mutex[(n + 1) % num_philosophers]);
        random_delay ();
       }
+
+  return (void *) 0;
 }
 
 int