This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Modernize solaris threads support.
On Monday 16 February 2009 19:09:57, Eli Zaretskii wrote:
> Why did you need to remove these prototypes while at that?
Do you need the prototypes at all? These are static
functions that are defined before any use. Adjusting unneeded
prototypes is just unnecessary, redundant extra work, exactly in
cases like this one.
> Also, the argument you added is unused inside these functions.
> Shouldn't we do something to shut up GCC warnings about them?
No need. Nowhere in GDB's codebase do we do that currently. We
build gdb with -Wno-unused instead.
> Other than that, the changes to go32-nat.c are approved.
Thanks.
--
Pedro Alves