From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 10:41:04 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 359AB106566B for ; Sun, 15 Feb 2009 10:41:04 +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 682FA8FC22 for ; Sun, 15 Feb 2009 10:41:03 +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 MAA14868; Sun, 15 Feb 2009 12:40:57 +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 1LYeQj-0002qd-7T; Sun, 15 Feb 2009 12:40:57 +0200 Message-ID: <4997F137.50403@icyb.net.ua> Date: Sun, 15 Feb 2009 12:40:55 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.19 (X11/20090114) MIME-Version: 1.0 To: Joseph Koshy References: <4995BB1B.7060201@icyb.net.ua> <20090213231513.GA20223@duncan.reilly.home> <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> In-Reply-To: <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Andrew Reilly , 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 10:41:04 -0000 on 14/02/2009 05:45 Joseph Koshy said the following: >> 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)). Very good idea. Thank you. -- Andriy Gapon