From owner-freebsd-arch Sun Mar 24 10:30:35 2002 Delivered-To: freebsd-arch@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [66.92.13.169]) by hub.freebsd.org (Postfix) with ESMTP id F1C3337B404 for ; Sun, 24 Mar 2002 10:30:29 -0800 (PST) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by dragon.nuxi.com (8.12.2/8.12.2) with ESMTP id g2OIUTYm012628; Sun, 24 Mar 2002 10:30:29 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g2OITCXL012622; Sun, 24 Mar 2002 10:29:12 -0800 (PST) Date: Sun, 24 Mar 2002 10:29:12 -0800 From: "David O'Brien" To: Mark Murray Cc: arch@FreeBSD.ORG Subject: Re: Why isn't __progname declared in a header? Message-ID: <20020324102912.A8262@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020324084941.B26339@dragon.nuxi.com> <200203241709.g2OH9AXl056805@grimreaper.grondar.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200203241709.g2OH9AXl056805@grimreaper.grondar.org>; from mark@grondar.za on Sun, Mar 24, 2002 at 05:09:10PM +0000 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Mar 24, 2002 at 05:09:10PM +0000, Mark Murray wrote: > > > Hmm. It is implemented in csu/*/crt[01].c, so how about > > > csu/common/_progname.h? > > > > Why create a header for just one line that is easy to duplicate in the > > only 4 places it is used? > > 2) To coerce stronger type-checking in its implementation and external > usage. Are you waning other consumers to include this file also? If so, we should put it in a more central location. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message