From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Newsgroups: comp.os.msdos.djgpp Subject: Re: Using EXTERNAL Functions?? Date: 1 Jun 1997 05:40:17 GMT Organization: The National Capital FreeNet Message-ID: <5mr201$hob@freenet-news.carleton.ca> References: <338d395e DOT 1295572 AT usenet DOT nau DOT edu> Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) NNTP-Posting-Host: freenet5.carleton.ca Lines: 13 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Don't forget to also put prototypes for a() and b() in an f.h and #include "f.h" in p1.c and p2.c. f.h should also #define any constants that might be used with a() and b() by calling modules. Also, any global vars in a() and b() that other code in p1 and p2 need to access, should be declared not static in f.c and declared extern in f.h -- .*. Where feelings are concerned, answers are rarely simple [GeneDeWeese] -() < When I go to the theater, I always go straight to the "bag and mix" `*' bulk candy section...because variety is the spice of life... [me] Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh