This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 1/9]#2 Rename `enum target_signal' to target_signal_t
> Date: Mon, 30 Aug 2010 10:24:07 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Cc: gdb-patches@sourceware.org
>
> On Mon, 30 Aug 2010 10:14:12 +0200, Mark Kettenis wrote:
> > The _t suffix is actually reserved by POSIX, so using it is actually a
> > bad idea. Perhaps change it to gdb_target_signal, or just
> > target_signal (making it a typedef for an anonymous enum)?
>
> I see too many types in GDB and everywhere ending with _t (ptid_t for all).
Right, and I didn't know it was reserved. Mark, could you please
point to the Posix document (hopefully, freely accessible) which says
that? TIA