From 258ad32d2b6191f1c9db2b20249d174c5f980f3d Mon Sep 17 00:00:00 2001 From: Michael Chastain Date: Sun, 24 Feb 2002 20:37:56 +0000 Subject: [PATCH] 2002-02-24 Michael Chastain * gdb.threads/pthreads.c (thread1): Add a return statement. (thread2): Likewise. (foo): Likewise. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.threads/pthreads.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2fe7580770b..9cf5135a590 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2002-02-24 Michael Chastain + + * gdb.threads/pthreads.c (thread1): Add a return statement. + (thread2): Likewise. + (foo): Likewise. + 2002-02-23 Michael Chastain * gdb.threads/linux-dp.c (philosopher): Add a return statement diff --git a/gdb/testsuite/gdb.threads/pthreads.c b/gdb/testsuite/gdb.threads/pthreads.c index 1fe1ae96f35..3df4c359a27 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; { -- 2.30.2