From owner-cvs-all Thu Feb 8 20:22:46 2001 Delivered-To: cvs-all@freebsd.org Received: from harmony.village.org (unknown [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id C336637B503; Thu, 8 Feb 2001 20:22:25 -0800 (PST) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.1/8.11.1) with ESMTP id f194M3955775; Thu, 8 Feb 2001 21:22:03 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200102090422.f194M3955775@harmony.village.org> To: Dag-Erling Smorgrav Subject: Re: cvs commit: src/usr.bin/lam lam.c Cc: Bruce Evans , Mark Murray , Mike Heffner , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "09 Feb 2001 03:55:09 +0100." References: Date: Thu, 08 Feb 2001 21:22:03 -0700 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message Dag-Erling Smorgrav writes: : ...which is totally academic, since as you very well know, arrays : decay to pointers when passed as arguments in function calls, and : foo[] decays to *foo in function declarations and definitions. No : ISO-compliant compiler will differentiate between the two. I use : *argv[] myself, but only out of a sense of tradition. Some compilers will warn of a pedantic mismatch. But I don't think gcc is one of them. Besides style(9) is explicit on this. If it wasn't, then we could use **argv. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message