X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: "John Hanley" Newsgroups: comp.os.msdos.djgpp Subject: Re: errors when linking Date: Thu, 26 Aug 2004 16:53:57 -0600 Organization: University of Alberta Lines: 16 Message-ID: <1093560759.721269@proxy2.srv.ualberta.ca> References: <1093551837 DOT 155041 AT proxy2 DOT srv DOT ualberta DOT ca> <200408262048 DOT i7QKmVUP029709 AT envy DOT delorie DOT com> NNTP-Posting-Host: proxy2.srv.ualberta.ca X-Trace: tabloid.srv.ualberta.ca 1093560760 12127 129.128.5.161 (26 Aug 2004 22:52:40 GMT) X-Complaints-To: abuse AT ualberta DOT ca NNTP-Posting-Date: Thu, 26 Aug 2004 22:52:40 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Cache-Post-Path: proxy2.srv.ualberta.ca!unknown AT d199-126-23-72 DOT abhsia DOT telus DOT net X-Cache: nntpcache 3.0.1 (see http://www.nntpcache.org/) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > Did you remember to use "extern" in the .h file, and declare them in > exactly one of the .c files? I used extern in the .h file, however this is the only place I declare them. I was under the impression that if you #include your .h file, the declaration is included at compile time in your .c file. I am not quite sure I understand why I would need to declare them twice. Thanks for the help! I really appreciate it! John