From: "Campbell, Rolf [SKY:1U32:EXCH]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Some problems with including structures in a library. Date: Mon, 26 Jul 1999 10:43:34 -0400 Organization: Nortel Networks Lines: 26 Message-ID: <379C7415.CE4A315C@americasm01.nt.com> References: <379C2C6A DOT 1756 AT yahoo DOT com> NNTP-Posting-Host: bmerhc00.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.6 [en] (X11; I; HP-UX B.10.20 9000/712) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Daniel Phillips wrote: > and I define them in my header file like this: > > extern struct spriteDef You shouldn't have the 'extern' in the previous line. > { > int x; > int y; > int imageNumber; > int stillValid; > }; > > extern struct spriteList > { > struct spriteDef spriteDefParams[64]; > } spriteList; > -- -Rolf Campbell (39)3-6318