Date: Sun, 24 Mar 2002 17:09:10 +0000 From: Mark Murray <mark@grondar.za> To: obrien@FreeBSD.ORG Cc: arch@FreeBSD.ORG Subject: Re: Why isn't __progname declared in a header? Message-ID: <200203241709.g2OH9AXl056805@grimreaper.grondar.org> In-Reply-To: <20020324084941.B26339@dragon.nuxi.com> ; from "David O'Brien" <obrien@FreeBSD.ORG> "Sun, 24 Mar 2002 08:49:41 PST." References: <20020324084941.B26339@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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? 1) To prevent it from diverging in the (currently only) 4 architectures that we have. 2) To coerce stronger type-checking in its implementation and external usage. M -- o Mark Murray \_ O.\_ Warning: this .sig is umop ap!sdn 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?200203241709.g2OH9AXl056805>