lkml.org 
[lkml]   [2007]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] proc_fs.h redux
    * Russell King <rmk+lkml@arm.linux.org.uk> [2007-10-28 11:34]:
    >
    > If you go down that route, you end up with _lots_ of circular
    > dependencies - header file X needs Y needs Z which needs X. We've
    > been there, several times. It very quickly becomes quite
    > unmaintainable - you end up with hard to predict behaviour from
    > include files.
    >
    > The only realistic solution is to use forward declarations.

    In header files, yes. But that's not true for implementation files.


    Thanks,
    Bernhard
    -
    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: 2007-10-28 13:03    [W:0.020 / U:1.476 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site