Date: Sun, 15 Feb 2009 10:58:59 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: joseph.koshy@gmail.com Cc: andrew-freebsd@areilly.bpc-users.org, freebsd-current@freebsd.org, avg@icyb.net.ua Subject: Re: weeding out c++ keywords from sys/sys Message-ID: <20090215.105859.-1615350567.imp@bsdimp.com> 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
In message: <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> Joseph Koshy <joseph.koshy@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090215.105859.-1615350567.imp>