[lkml]   [2003]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRE: [PATCH] 2.5 Documentation/CodingStyle ANSI C function declarations.
    Hi Linus.

    > The motivation for doing the ANSI-fication is just that there
    > is now a sanity checker tool that will complain loudly about
    > bad typing, and since I wrote it and I hate old-style K&R
    > sources, it doesn't parse them.

    Probably the simplest solution is to make the said tool recognise
    a line like...

    #pragma KandR

    ...and have it abort any file where it finds that line with some
    sort of warning, perhaps along the lines of...

    SanityCheck: Found K&R pragma, ignoring kernel/foobar.c

    ...or something similar. It would then be simply a case of adding
    the said line near the top of whichever source files are still in
    K&R format.

    Best wishes from Riley.
    * Nothing as pretty as a smile, nothing as ugly as a frown.

    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (
    Version: 6.0.484 / Virus Database: 282 - Release Date: 27-May-2003

    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:35    [W:0.019 / U:47.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site