Re: [PATCH 10/13] Move ptid.h to common-defs.h

Gary Benson
2014-07-30T08:21:52Z

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