From owner-freebsd-current@FreeBSD.ORG Sun Feb 15 18:01:08 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 33E4310656CF for ; Sun, 15 Feb 2009 18:01:08 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id E6C2A8FC16 for ; Sun, 15 Feb 2009 18:01:07 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id n1FHwtrT076500; Sun, 15 Feb 2009 10:58:56 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 15 Feb 2009 10:58:59 -0700 (MST) Message-Id: <20090215.105859.-1615350567.imp@bsdimp.com> To: joseph.koshy@gmail.com From: "M. Warner Losh" In-Reply-To: <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> References: <4995BB1B.7060201@icyb.net.ua> <20090213231513.GA20223@duncan.reilly.home> <84dead720902131945s11fc5949j7125bb28b030f055@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: andrew-freebsd@areilly.bpc-users.org, freebsd-current@freebsd.org, avg@icyb.net.ua 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:01:08 -0000 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. Warner