Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 10:29:12 -0800
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        Mark Murray <mark@grondar.za>
Cc:        arch@FreeBSD.ORG
Subject:   Re: Why isn't __progname declared in a header?
Message-ID:  <20020324102912.A8262@dragon.nuxi.com>
In-Reply-To: <200203241709.g2OH9AXl056805@grimreaper.grondar.org>; from mark@grondar.za on Sun, Mar 24, 2002 at 05:09:10PM %2B0000
References:  <20020324084941.B26339@dragon.nuxi.com> <200203241709.g2OH9AXl056805@grimreaper.grondar.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020324102912.A8262>