* [9fans] Globals in cc -- where defined?
@ 2007-04-17 16:06 Joel C. Salomon
2007-04-17 16:17 ` Charles Forsyth
0 siblings, 1 reply; 3+ messages in thread
From: Joel C. Salomon @ 2007-04-17 16:06 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
I'm not finding the definition of the global variables declared in
/sys/src/cmd/cc/cc.h — nearline and lineno, for instance. I thought
there might be some game played with the
#ifndef EXTERN
#define EXTERN extern
#endif
lines, but grep doesn't find EXTERN defined in any file in
/sys/src/cmd/cc or in /sys/src/cmd/8c.
I tried src -s, but that only finds function definitions, not
variables — why is that, by the way?
Clues? Am I missing something really obvious?
--Joel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Globals in cc -- where defined?
2007-04-17 16:06 [9fans] Globals in cc -- where defined? Joel C. Salomon
@ 2007-04-17 16:17 ` Charles Forsyth
2007-04-17 16:24 ` Joel C. Salomon
0 siblings, 1 reply; 3+ messages in thread
From: Charles Forsyth @ 2007-04-17 16:17 UTC (permalink / raw)
To: 9fans
EXTERN is usually defined in ?c/list.c
you probably just missed it in the noise.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] Globals in cc -- where defined?
2007-04-17 16:17 ` Charles Forsyth
@ 2007-04-17 16:24 ` Joel C. Salomon
0 siblings, 0 replies; 3+ messages in thread
From: Joel C. Salomon @ 2007-04-17 16:24 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 4/17/07, Charles Forsyth <forsyth@terzarima.net> wrote:
> EXTERN is usually defined in ?c/list.c
> you probably just missed it in the noise.
Found it there; thanks.
--Joel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-17 16:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-17 16:06 [9fans] Globals in cc -- where defined? Joel C. Salomon
2007-04-17 16:17 ` Charles Forsyth
2007-04-17 16:24 ` Joel C. Salomon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).