From: "ChaoTix" Newsgroups: comp.os.msdos.djgpp Subject: Unit Programming Date: Fri, 27 Sep 2002 12:48:23 +0200 Organization: XS4ALL Internet BV Lines: 30 Message-ID: NNTP-Posting-Host: 213-84-241-227.adsl.xs4all.nl X-Trace: news1.xs4all.nl 1033123942 2372 213.84.241.227 (27 Sep 2002 10:52:22 GMT) X-Complaints-To: abuse AT xs4all DOT nl NNTP-Posting-Date: 27 Sep 2002 10:52:22 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi all, I am new to DJGPP and Allegro, and I want to create a VERY simple program that is using untis for functions. I got this so far (Like I said...very simple) #include "func.h" int main() { function(); } void function(); void function() { // What the function must do } Like I said again, its very simple. But I still got a error when building it all up. The compiler says: "Multiple declaration for 'function'" Hope somebody helps, Greetz, ChaoTix