Date: Sun, 15 Feb 2009 20:41:33 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: "M. Warner Losh" <imp@bsdimp.com> Cc: freebsd-current@freebsd.org Subject: Re: weeding out c++ keywords from sys/sys Message-ID: <499861DD.7010709@icyb.net.ua> In-Reply-To: <20090215.105859.-1615350567.imp@bsdimp.com> References: <4995BB1B.7060201@icyb.net.ua> <20090213231513.GA20223@duncan.reilly.home> <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> <20090215.105859.-1615350567.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 15/02/2009 19:58 M. Warner Losh said the following: > 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. Thank you. -- Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499861DD.7010709>