From owner-freebsd-arch Sun Mar 24 8:51:19 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 D90F037B41C for ; Sun, 24 Mar 2002 08:50:57 -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 g2OGovYm005589; Sun, 24 Mar 2002 08:50:57 -0800 (PST) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.2/8.12.2/Submit) id g2OGnf9C005585; Sun, 24 Mar 2002 08:49:41 -0800 (PST) Date: Sun, 24 Mar 2002 08:49:41 -0800 From: "David O'Brien" To: Mark Murray Cc: Bruce Evans , arch@FreeBSD.ORG Subject: Re: Why isn't __progname declared in a header? Message-ID: <20020324084941.B26339@dragon.nuxi.com> Reply-To: obrien@FreeBSD.ORG References: <20020325001528.B44805-100000@gamplex.bde.org> <200203241437.g2OEbuXl083121@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: <200203241437.g2OEbuXl083121@grimreaper.grondar.org>; from mark@grondar.za on Sun, Mar 24, 2002 at 02:37:55PM +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 02:37:55PM +0000, Mark Murray wrote: > > > Next question, what header should it go into? I'm quite happy to do > > > the work. > > > > libc/include/libc_private.h is almost right. > > 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? -- -- David (obrien@FreeBSD.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message