[lkml]   [2001]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.4.9 does not compile [PATCH]
    "David S. Miller" <> writes:

    > From: Andrew Morton <>
    > Date: Thu, 16 Aug 2001 18:49:58 -0700
    > int test(int __x, int __y)
    > {
    > return min(__x, __y); /* sic */
    > }
    > People are expected not to use underscore prefixed
    > variables in normal C code, this is why macros
    > in the kernel make liberal use of them for locals.

    You are joking, right? The kernel is full of double under score prefixed
    identifiers, for functions that do slighter lower level things than others.
    While this expectation may exist in POSIX/C89 and is frequently violated there,
    in kernel C nobody cares about it at all.

    It doesn't matter anyways, the way C macro expansion works guarantees that
    only macro arguments written in the macro get expanded; the arguments are not
    recursively expanded. Therefore any games with "magic" macro names
    is totally unnecessary.

    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 12:57    [W:0.032 / U:9.480 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site