Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!princeton!siemens!gypsy!hasch From: hasch@gypsy.UUCP Newsgroups: comp.lang.c Subject: Re: help with declaration Message-ID: <100001@gypsy.UUCP> Date: Fri, 19-Jun-87 09:53:00 EDT Article-I.D.: gypsy.100001 Posted: Fri Jun 19 09:53:00 1987 Date-Received: Sun, 21-Jun-87 03:28:34 EDT References: <8286@ut-sally.UUCP> Lines: 14 Nf-ID: #R:ut-sally:-828600:gypsy:100001:000:325 Nf-From: gypsy!hasch Jun 19 09:53:00 1987 My solution in this case would be a typedef construct. You define typedef int (*FP)(); Now FP declares a type, which is a pointer to a function that returns an int. Next declare FP getfunc(), func; I think the rest of the code can remain unchanged. Harald Schaefer Siemens RTL ... psuvax1!princeton!siemens!gypsy!hasch