Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Feb 2009 09:15:55 +0530
From:      Joseph Koshy <joseph.koshy@gmail.com>
To:        Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
Cc:        freebsd-current@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: weeding out c++ keywords from sys/sys
Message-ID:  <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com>
In-Reply-To: <20090213231513.GA20223@duncan.reilly.home>
References:  <4995BB1B.7060201@icyb.net.ua> <20090213231513.GA20223@duncan.reilly.home>

next in thread | previous in thread | raw e-mail | index | archive | help
> Not that this should stop you from de-keywording the include
> files, if that takes your fancy, but permuting a variable
> "class" into "clazz" is a bit gruesome, imo.  Why not just comment
> the argument name out altogether?  It's not strictly needed in
> the prototype.

Prefixing parameter names in function prototypes with an underscore
should be enough.

      void    function(int _fd);

(Example taken from style(9)).

Koshy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720902131945s11fc5949j7125bb28b030f055>