[patch/testsuite/mi] pthreads.c: remove extraneous semicolon
Michael Elizabeth Chastain
mec.gnu@mindspring.com
Thu Jan 8 21:42:00 GMT 2004
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)
More information about the Gdb-patches
mailing list