[lkml]   [2002]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] 2.5.21 - list.h cleanup
    In message <>, > : Li
    nus Torvalds writes:
    > On Tue, 11 Jun 2002, Rusty Russell wrote:
    > >
    > > 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,
    > True.

    Untrue. Or partially true (yes, you *can* use struct xx;).

    But you can also use:

    typedef foo_t;

    to predefine, just like you can use struct xx;

    Also avoids some aspects of #include <hell>.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:26    [W:0.024 / U:152.372 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site