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 2d8b3ac..2fe7580 100644 (file)
@@ -1,5 +1,10 @@
 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
        test "ptype bint".  The test passes on all my stabs configurations.
 
index b66649b..c3775bd 100644 (file)
@@ -153,6 +153,8 @@ philosopher (void *data)
        pthread_mutex_unlock (&fork_mutex[(n + 1) % num_philosophers]);
        random_delay ();
       }
+
+  return (void *) 0;
 }
 
 int