This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 13/13] Include string.h in common-defs.h


Doug Evans wrote:
> Gary Benson writes:
> > This commit includes string.h in common-defs.h and removes all
> > other inclusions.
> > 
> > gdb/
> > 2014-07-29  Gary Benson  <gbenson@redhat.com>
> > 
> > 	* common/common-defs.h: Include string.h.
> > 	* aarch64-tdep.c: Do not include string.h.
> > 	* ada-exp.y: Likewise.
[snip]
> > 	* xtensa-linux-nat.c: Likewise.
> > [... zoinks! :-) ...]
> 
> Fwiw, I'd be happy with replacing all of this with:
> 
> 	* common/common-defs.h: Include string.h.
> 	All other uses deleted.
> 
> [and similarly elsewhere]
> 
> No need to go back and change anything though.
> Just my $0.02.
> Some may have a rule to write this as you've done,
> but I think this is another case where we're bogging
> ourselves down in pedantic administrivia.

Ok, I'll do that next time.

Cheers,
Gary

-- 
http://gbenson.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]