Re: bogus main declaration in gdb.base/label.c

Tom Tromey
2013-01-14T21:29:06Z

>>>>> "David" == David Blaikie <dblaikie@gmail.com> writes:

David> The declaration of main in gdb.base/label.c is incorrect & fails to
David> compile under Clang:

David> ../../../src/gdb/7.5/gdb/testsuite/gdb.base/label.c:4:1: error: second
David> parameter of 'main' (argument array) must be of type 'char **'
David> main (int argc, char *argv)
David> ^

David> The attached patch fixes this by adding the missing '*' to the
David> second parameter.

It needs a ChangeLog entry, but otherwise is ok.

If you're going to submit more patches, you should start the copyright
assignment process. Send me email off-list & I will send you what you
need.

Tom