weeding out c++ keywords from sys/sys

Joseph Koshy joseph.koshy at gmail.com
Fri Feb 13 19:45:56 PST 2009


> 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


More information about the freebsd-current mailing list