Subject: Re: errno conflict in kdump
To: Andrew Brown <atatat@atatdot.net>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 12/27/2000 14:03:12
On Dec 23, 11:14pm, atatat@atatdot.net (Andrew Brown) wrote:
-- Subject: Re: errno conflict in kdump
Yeah, this lossage is unavoidable. I wonder how it worked before my changes.
christos
| >I don't understand; errno is (*__errno()) so it should compile.
|
| try this:
|
| % cat finkle.c
| #include <errno.h>
| struct foo {
| int errno; /* this is a *STRUCT MEMBER* */
| };
| % cc finkle.c
| finkle.c:3: field `__errno' declared as a function
|
| and wonder about the various merits of separate name spaces and
| pre-processors.
|
| --
| |-----< "CODE WARRIOR" >-----|
| codewarrior@daemon.org * "ah! i see you have the internet
| twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
| andrew@crossbar.com * "information is power -- share the wealth."
-- End of excerpt from Andrew Brown