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

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Sun, 15 Feb 2009 10:58:59 -0700 (MST)
In message: <84dead720902131945s11fc5949j7125bb28b030f055_at_mail.gmail.com>
            Joseph Koshy <joseph.koshy_at_gmail.com> writes:
: > 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)).

I've gone ahead and committed this suggestion to sys/conf.h.

Warner
Received on Sun Feb 15 2009 - 17:01:08 UTC

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