2002-02-24 Michael Chastain <mec@shout.net>
authorMichael Chastain <mec@google.com>
Sun, 24 Feb 2002 20:37:56 +0000 (20:37 +0000)
committerMichael Chastain <mec@google.com>
Sun, 24 Feb 2002 20:37:56 +0000 (20:37 +0000)
* gdb.threads/pthreads.c (thread1): Add a return statement.
(thread2): Likewise.
(foo): Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/pthreads.c

index 2fe7580770b2a94d3ce9f870834e49e8d06a5b8f..9cf5135a59043908d6e189070777e427656d2c0a 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-24  Michael Chastain  <mec@shout.net>
+
+       * gdb.threads/pthreads.c (thread1): Add a return statement.
+       (thread2): Likewise.
+       (foo): Likewise.
+
 2002-02-23  Michael Chastain  <mec@shout.net>
 
        * gdb.threads/linux-dp.c (philosopher): Add a return statement
index 1fe1ae96f35d16c2ade6c23ccd2537843e49c606..3df4c359a27cbc56e5eb0934b54a2e4c01de30e6 100644 (file)
@@ -79,6 +79,7 @@ thread1 (void *arg)
       common_routine (1);
       sleep(1);
     }
+  return (void *) 0;
 }
 
 static void *
@@ -96,9 +97,10 @@ thread2 (void * arg)
       sleep(1);
     }
   sleep(100);
+  return (void *) 0;
 }
 
-int
+void
 foo (a, b, c)
      int a, b, c;
 {