From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 18:41:48 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17FC21065673 for ; Sun, 15 Feb 2009 18:41:48 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 481158FC17 for ; Sun, 15 Feb 2009 18:41:46 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id UAA21412; Sun, 15 Feb 2009 20:41:37 +0200 (EET) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1] helo=edge.pp.kiev.ua) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1LYlvs-0003AZ-Pg; Sun, 15 Feb 2009 20:41:36 +0200 Message-ID: <499861DD.7010709@icyb.net.ua> Date: Sun, 15 Feb 2009 20:41:33 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090114) MIME-Version: 1.0 To: "M. Warner Losh" References: <4995BB1B.7060201@icyb.net.ua> <20090213231513.GA20223@duncan.reilly.home> <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> <20090215.105859.-1615350567.imp@bsdimp.com> In-Reply-To: <20090215.105859.-1615350567.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: weeding out c++ keywords from sys/sys X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 18:41:48 -0000 on 15/02/2009 19:58 M. Warner Losh said the following: > In message: <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> > Joseph Koshy 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