aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2002-02-24 20:37:56 +0000
committerMichael Chastain <mec@google.com>2002-02-24 20:37:56 +0000
commit258ad32d2b6191f1c9db2b20249d174c5f980f3d (patch)
tree5101ac63488049a0f548eac820261b8e2933dfcb /gdb/testsuite/gdb.threads
parentaab4e0ec4bbfa89b2e61952d7907ecfcc28afc09 (diff)
downloadgdb-258ad32d2b6191f1c9db2b20249d174c5f980f3d.zip
gdb-258ad32d2b6191f1c9db2b20249d174c5f980f3d.tar.gz
gdb-258ad32d2b6191f1c9db2b20249d174c5f980f3d.tar.bz2
2002-02-24 Michael Chastain <mec@shout.net>
* gdb.threads/pthreads.c (thread1): Add a return statement. (thread2): Likewise. (foo): Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/pthreads.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.threads/pthreads.c b/gdb/testsuite/gdb.threads/pthreads.c
index 1fe1ae9..3df4c35 100644
--- a/gdb/testsuite/gdb.threads/pthreads.c
+++ b/gdb/testsuite/gdb.threads/pthreads.c
@@ -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;
{