From owner-cvs-src@FreeBSD.ORG Mon Jul 30 10:40:13 2007 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B610C16A421 for ; Mon, 30 Jul 2007 10:40:13 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 103E613C478 for ; Mon, 30 Jul 2007 10:40:12 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 30 Jul 2007 10:13:32 -0000 Received: from p54A3F07A.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.240.122] by mail.gmx.net (mp048) with SMTP; 30 Jul 2007 12:13:32 +0200 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1/m6MdlG1Xm7KJM9NOZ6dnfy2cOPtYTHUwd7HYTsw PxKNdgmaFlK82n Message-ID: <46ADB9CB.501@gmx.de> Date: Mon, 30 Jul 2007 12:13:31 +0200 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.5 (X11/20070721) MIME-Version: 1.0 To: =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= References: <20070729214715.I31116@maildrop.int.zabbadoz.net> <20070729160246.A86779@ns1.feral.com> <86zm1ejrat.fsf@ds4.des.no> <20070730.025750.41720145.imp@bsdimp.com> <86k5sijlge.fsf@ds4.des.no> <86r6mqi4wp.fsf@ds4.des.no> In-Reply-To: <86r6mqi4wp.fsf@ds4.des.no> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 Cc: src-committers@freebsd.org, cvs-src@freebsd.org, cvs-all@freebsd.org, bz@freebsd.org, mjacob@freebsd.org, Warner Losh Subject: Re: cvs commit: src/sys/netinet tcp_input.c tcp_usrreq.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 10:40:13 -0000 Dag-Erling Smørgrav wrote: > Dag-Erling Smørgrav writes: >> The attached patch unbreaks the build. > > With additional hunk to fix usr.bin/netstat/ipx.c, which relied on the > brokenness of . Hi, may I suggest to declare the array as static const char * const tcpstates[]. Mind the second const, so not only the strings are const (const char*), but the array itself, too. Christoph