gdb.threads/pthreads.c is declaring functions with old K&R style.
This commit converts them to ANSI style.
Approved-By: Tom Tromey <tom@tromey.com>
Change-Id: I1ce007c67bb4ab1e49248c014c7881e46634f8f8
static int verbose = 0;
static void
-common_routine (arg)
- int arg;
+common_routine (int arg)
{
static int from_thread1;
static int from_thread2;
}
void
-foo (a, b, c)
- int a, b, c;
+foo (int a, int b, int c)
{
int d, e, f;
}
int
-main(argc, argv)
- int argc;
- char **argv;
+main (int argc, char **argv)
{
pthread_t tid1, tid2;
int j;