Re: weeding out c++ keywords from sys/sys

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Sun, 15 Feb 2009 12:40:55 +0200
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
Received on Sun Feb 15 2009 - 09:41:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:42 UTC