Re: [PATCH] 2.5.21 - list.h cleanup

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Tue Jun 11 2002 - 03:00:51 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:21 EST