Date: Fri, 1 Apr 94 10:42:25 -0500
From: dj AT ctron DOT com (DJ Delorie)
To: WKIM AT vms DOT cis DOT pitt DOT edu
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: storage allocation of global var


> and, a global variable is declared in test.h:
> 
>   int global_var;

This creates a "common" variable, space for which is shared among
object files (like FORTRAN's "common" statement).  Had you given it a
value in one module, that value would be set for all modules.  Had you
given it a value in more than one module, you would have a link error.