lkml.org 
[lkml]   [2002]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.312 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site