Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucsd!ogccse!blake!ndsuvax!nebakke From: nebakke@ndsuvax.UUCP (Jeff Bakke) Newsgroups: comp.lang.c Subject: Function pointers.. help! Message-ID: <3005@ndsuvax.UUCP> Date: 13 Oct 89 09:02:23 GMT Reply-To: nebakke@ndsuvax.UUCP (Jeff Bakke) Organization: North Dakota State University, Fargo Lines: 28 I have recently been working with function pointers and I have a problem that I need help with. say I have a function pointer defined: void (*border_proc)(); Ok, now I want a function to be called as Assign_border(myfunction); Where myfunction is a function name. Now the assign_border function is declared as void Assign_border(void (*user_border)()){ border_proc = user_border; } Now, to me, this seems alright, but to the Turbo c 2.0 compiler, it says that a Storage class is required. Now, I've tried other variations of the argument declaration but nothing I do works. Someone out there must know the correct way to do this, if you do, I'd appreciate your help. Thanks. Jeff bakke nebakke@plains.NoDak.edu nu113738@ndsuvm1.bitnet