This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 10/13] Move ptid.h to common-defs.h
- From: Gary Benson <gbenson at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 30 Jul 2014 09:21:46 +0100
- Subject: Re: [PATCH 10/13] Move ptid.h to common-defs.h
- Authentication-results: sourceware.org; auth=none
- References: <1406644635-1011-1-git-send-email-gbenson at redhat dot com> <1406644635-1011-11-git-send-email-gbenson at redhat dot com>
Gary Benson wrote:
> This commit moves the inclusion of ptid.h to common-defs.h and
> removes all other inclusions.
>
> gdb/
> 2014-07-28 Gary Benson <gbenson@redhat.com>
>
> * common/common-defs.h: Include ptid.h.
> * defs.h: Do not include ptid.h.
> * common/ptid.c: Likewise.
As per:
Pedro Alves wrote [1]:
> It's a simpler rule if all .c files include their corresponding
> .h file.
I've updated my tree to reinstate '#include "ptid.h"' in ptid.c.
I won't post an updated patch. Please review this patch as though
the ptid.c change was not there.
Thanks,
Gary
--
[1] https://sourceware.org/ml/gdb-patches/2014-07/msg00745.html