From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 11 17:09:19 2009 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871D8106568B for ; Sun, 11 Oct 2009 17:09:19 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1138FC14 for ; Sun, 11 Oct 2009 17:09:19 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 624DD1CC4F; Sun, 11 Oct 2009 19:09:18 +0200 (CEST) Date: Sun, 11 Oct 2009 19:09:18 +0200 From: Ed Schouten To: FreeBSD Hackers Message-ID: <20091011170918.GU71731@hoeg.nl> References: <20091011145021.GG36937@acme.spoerlein.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yIMHf/Pa6CzSkARF" Content-Disposition: inline In-Reply-To: <20091011145021.GG36937@acme.spoerlein.net> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Subject: Re: RFC: Big Makefile patch for WARNS settings X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 17:09:19 -0000 --yIMHf/Pa6CzSkARF Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ulrich, * Ulrich Sp=F6rlein wrote: > Comments? Committers? Wouldn't it better to address the root of the problem while there? ;-) Index: number.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- number.c (revision 197852) +++ number.c (working copy) @@ -88,9 +88,7 @@ int lflag; =20 int -main(argc, argv) - int argc; - char *argv[]; +main(int argc, char *argv[]) { int ch, first; char line[256]; @@ -275,7 +273,7 @@ pfract(len) int len; { - static char *pref[] =3D { "", "ten-", "hundred-" }; + static char const * const pref[] =3D { "", "ten-", "hundred-" }; =20 switch(len) { case 1: --=20 Ed Schouten WWW: http://80386.nl/ --yIMHf/Pa6CzSkARF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkrSET4ACgkQ52SDGA2eCwWZJQCcDlRcPwKpLSdm4o4xOo4rOalM 330AniHp8JXcJVZZLm3xakUHOAXr+4M/ =rTK/ -----END PGP SIGNATURE----- --yIMHf/Pa6CzSkARF--