Re: [PATCH] 2.5.21 - list.h cleanup

Rusty Russell (rusty@rustcorp.com.au)
Tue, 11 Jun 2002 18:00:51 +1000


On Mon, 10 Jun 2002 10:21:36 -0700 (PDT)
Linus Torvalds <torvalds@transmeta.com> wrote:
> Well, it's more than just "struct xx". It's really typedefs in general.

Worst sin is that you can't predeclare typedefs. For many uses (not the
list macros of course):
struct xx;
is sufficient and avoids the #include hell,

Cheers
Rusty.

-- 
   there are those who do and those who hang on and you don't see too
   many doers quoting their contemporaries.  -- Larry McVoy
-
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/