Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version VT1.00C 11/1/84; site vortex.UUCP
Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!packard!edsel!bentley!hoxna!houxm!ihnp4!mhuxn!mhuxj!mhuxr!ulysses!allegra!mit-eddie!genrad!decvax!vortex!lauren
From: lauren@vortex.UUCP (Lauren Weinstein)
Newsgroups: net.lang.c
Subject: Re: Lattice/UNIX incompatibility
Message-ID: <490@vortex.UUCP>
Date: Wed, 2-Jan-85 02:05:30 EST
Article-I.D.: vortex.490
Posted: Wed Jan  2 02:05:30 1985
Date-Received: Thu, 3-Jan-85 04:07:58 EST
References: <3220@alice.UUCP>
Organization: Vortex Technology, Los Angeles
Lines: 24

I use C86 here.  It also enforces the external declarations in a manner
that, on the surface, makes multiple file include files difficult to
manage.  However, there is a simple solution, which, while not 
fancy, is fully compatible with all other compilers that I know of.

In the .h file to be included among various files, I add:

EXTERN

before each declaration.

Then, in one (usually the first) of my source files, I put

#define EXTERN

at the top, then

#define EXTERN extern

at the top of all the other source files.  This effectively takes
care of the problem, and lets me manage my .h files with a minimum
of hassle, under the circumstances.

--Lauren--