lkml.org 
[lkml]   [2004]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH] Use NULL instead of integer 0 in security/selinux/
    From
    On Wed, Jul 07, 2004 at 10:22:32PM -0700, Linus Torvalds wrote:
    >
    > I'm sorry that you are such a K&R-C bigot that you don't like type
    > checking. But the kernel DOES like type checking, and the kernel is not
    > K&R C. The kernel uses strict ANSI, and in fact, is _more_ strict than
    > ANSI C is in many many ways.

    Well it's your project so you get to set the coding style.

    But it is ironic that you call people who use 0 in a pointer context
    K&R-C bigots. One of the principal reason why NULL exists at all
    is in fact the lack of prototypes in K&R...
    --
    Visit Openswan at http://www.openswan.org/
    Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
    -
    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 14:04    [W:0.022 / U:30.560 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site