This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch/testsuite/mi] pthreads.c: remove extraneous semicolon
- From: mec dot gnu at mindspring dot com (Michael Elizabeth Chastain)
- To: cagney at redhat dot com, ezannoni at redhat dot com,gdb-patches at sources dot redhat dot com
- Date: Thu, 8 Jan 2004 16:42:34 -0500 (EST)
- Subject: [patch/testsuite/mi] pthreads.c: remove extraneous semicolon
Obvious fix; not all the world is gcc. hp-ux ansi c warns about
"Empty declaration", and the test suite sees the warning and bails.
Tested on native i686-pc-linux-gnu and native hppa2.0w-hp-hpux11.11
(compiled only on hpux, I can't run the test suite at the moment).
I am committing this now.
Michael C
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/pthreads.c (done_making_threads): Remove extraneous
semicolon after end of function.
Index: gdb.mi/pthreads.c
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.mi/pthreads.c,v
retrieving revision 1.5
diff -c -3 -p -r1.5 pthreads.c
*** gdb.mi/pthreads.c 6 Nov 2003 02:08:08 -0000 1.5
--- gdb.mi/pthreads.c 8 Jan 2004 21:25:31 -0000
***************
*** 1,5 ****
/* Pthreads test program.
! Copyright 1996, 2002, 2003
Free Software Foundation, Inc.
Written by Keith Seitz of Red Hat.
--- 1,5 ----
/* Pthreads test program.
! Copyright 1996, 2002, 2003, 2004
Free Software Foundation, Inc.
Written by Keith Seitz of Red Hat.
*************** void
*** 58,64 ****
done_making_threads (void)
{
/* Nothing */
! };
void
create_thread (void)
--- 58,64 ----
done_making_threads (void)
{
/* Nothing */
! }
void
create_thread (void)