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

next in thread | previous in thread | raw e-mail | index | archive | help
on 14/02/2009 05:45 Joseph Koshy said the following:
>> 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)).

Very good idea. Thank you.

-- 
Andriy Gapon



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