From: "Doug" Newsgroups: comp.os.msdos.djgpp Subject: Re: Help! function typedef Date: 11 Dec 2000 17:12:13 GMT Organization: none Lines: 16 Message-ID: <01c06396$d935cd80$b8247d81@doug> References: <3a30b1a8$0$24264 AT diablo DOT uninet DOT ee> <006101c06103$dc9dd020$aa4d57cb AT spunky> <3a34d45e$0$24309 AT diablo DOT uninet DOT ee> NNTP-Posting-Host: client36-184.oprit.rug.nl X-Trace: info.service.rug.nl 976554733 11675 129.125.36.184 (11 Dec 2000 17:12:13 GMT) X-Complaints-To: newsmaster AT rug DOT nl NNTP-Posting-Date: 11 Dec 2000 17:12:13 GMT X-Newsreader: Microsoft Internet News 4.70.1155 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > NO NO NO. I wrote: > typedef int (MY_FUNC_TYPE)(void); > > MY_FUNC func > { > return 0; > } Are you sure this ic C? I've been programming a long time and have never seen anything like this before. I'm not certian, but I don't think this is allowed ny the C language. Just because Borland has some wierd extensions doesn't mean than DJGPP should have them to. I think you are better using somekind of macro to do what I think you want. Doug