2002-02-24 Michael Chastain <mec@shout.net>

* gdb.threads/pthreads.c (thread1): Add a return statement.
	(thread2): Likewise.
	(foo): Likewise.
This commit is contained in:
Michael Chastain 2002-02-24 20:37:56 +00:00
parent aab4e0ec4b
commit 258ad32d2b
2 changed files with 9 additions and 1 deletions

View 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

View 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;
{