[patch 1/9]#2 Rename `enum target_signal' to target_signal_t

Michael Snyder msnyder@vmware.com
Mon Aug 30 17:34:00 GMT 2010


Jan Kratochvil wrote:
> 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).
> 
> I do not mind at all about the type name but before reposting the patchset
> I would like agreement from one more global maintainer.

ptid_t was an extension from pid_t, which is a posix typedef I think.



More information about the Gdb-patches mailing list