[lkml]   [2004]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] devpts_fs.h fails with "error: parameter name omitted"
    Followup to:  <20040224024942.GG1200@cse.unsw.EDU.AU>
    By author: Ian Wienand <>
    In newsgroup:
    > On Tue, Feb 24, 2004 at 02:24:24AM +0000, wrote:
    > > That part makes sense. Previous one doesn't.
    > Is that by convention or is leaving out the parameter name in the
    > prototype standardised somewhere?

    It's commonly done to make code less macro-sensitive.

    Personally I wish that standard C allowed it for definitions as well, rather than
    having to type (void)foo; to keep it from complaining about unused parameters.

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