Messages in this thread | | | Date | Fri, 6 Sep 2002 12:28:29 +0300 | From | Dan Aloni <> | Subject | Re: [TRIVIAL PATCH] Remove list_t infection. |
| |
On Mon, Sep 02, 2002 at 03:23:02PM +1000, Rusty Russell wrote: > This week, it spread to SCTP. > > "struct list_head" isn't a great name, but having two names for > everything is yet another bar to reading kernel source. > [...] > > D: This removes list_t, which is a gratuitous typedef for a "struct > D: list_head". Unless there is good reason, the kernel doesn't usually > D: typedef, as typedefs cannot be predeclared unlike structs. >
Good, I see it was actually a *good* thing that I've done a 's/struct list_head/list_t' in list.h, back when I was adding list_move_*().
Otherwise, we wouldn't have noticed much the appearance of list_t, and it might have spread throughout the kernel by the time we reach 2.6.0.
task_t, anyone?
-- Dan Aloni da-x@gmx.net - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |