From owner-svn-src-all@FreeBSD.ORG Tue Mar 2 21:59:15 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCEFC1065789; Tue, 2 Mar 2010 21:59:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 381268FC28; Tue, 2 Mar 2010 21:59:15 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id F17FE46B6C; Tue, 2 Mar 2010 16:59:13 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 222A98A01F; Tue, 2 Mar 2010 16:59:13 -0500 (EST) From: John Baldwin To: Gleb Smirnoff Date: Tue, 2 Mar 2010 16:56:03 -0500 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201003022110.o22LAiOo044372@svn.freebsd.org> In-Reply-To: <201003022110.o22LAiOo044372@svn.freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003021656.03725.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Tue, 02 Mar 2010 16:59:13 -0500 (EST) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.5 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r204602 - head/share/man/man9 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2010 21:59:15 -0000 On Tuesday 02 March 2010 4:10:44 pm Gleb Smirnoff wrote: > Author: glebius > Date: Tue Mar 2 21:10:44 2010 > New Revision: 204602 > URL: http://svn.freebsd.org/changeset/base/204602 > > Log: > - Add missing includes to make example "compilable". > - Use C99 initializer just in case if driver_t may change in future. Actually, this is not done anywhere else in the tree for driver_t (though it is common for cdevsw). If you'd rather not use the old style, then use DEFINE_CLASS_0 instead. That is: DEFINE_CLASS_0(foo, foo_driver, foo_methods, sizeof(struct foo_softc)); -- John Baldwin