Subject: Re: C lesson
To: Markus Hitter <M.Hitter@trier.fh-rpl.de>
From: Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 03/06/1996 17:53:36
> Hi,
> 
> Maybe I have slept in one of the programming lessons but I can't imagine what
> this 'extern' in front of the function definition does. If I don't comment it
> out this routine is left as a unreferenced symbol. I copied this example from
> ncr5380.c.
> 
> extern __inline__ int wait_req_true(void)
> {
>         int     timeout = 25000;
> 
>         while ...
> 
> Perhaps someone can help me make my brain working better?

I'm not sure what it means in front of the definition of the routine,
but it's somehow the oposite of static. static in front of a routine
makes it not be included in the symbol table. For instance, a static
routine won't show up in a trace (well, won't have the right name).

Take care,

Bill