lkml.org 
[lkml]   [2002]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: PATCH 2.5.2.7: io.h cleanup and userspace nudge
    Dave Jones wrote:
    >
    > On Fri, 4 Jan 2002, Jeff Garzik wrote:
    >
    > > As we are now in 2.5.x series I figured it might be a good time to push
    > > this out... The patch removes __KERNEL__ ifdefs from [only] io.h as a
    > > nudge to userspace that they should not be including kernel headers.
    >
    > Why not..
    >
    > #ifndef __KERNEL__
    > #error This file should not be included by userspace.
    > #endif

    I thought about it, but then the tree would be littered with that all
    over the place. Programmers are smart enough to figure this out (I hope
    :))

    --
    Jeff Garzik | Only so many songs can be sung
    Building 1024 | with two lips, two lungs, and one tongue.
    MandrakeSoft | - nomeansno
    -
    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:15    [W:0.022 / U:0.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site