Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site epsilon.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!gamma!epsilon!egs
From: egs@epsilon.UUCP (Ed Sheppard)
Newsgroups: net.lang.c
Subject: Re: declaring routines which return function pointers
Message-ID: <22@epsilon.UUCP>
Date: Sun, 16-Dec-84 22:51:27 EST
Article-I.D.: epsilon.22
Posted: Sun Dec 16 22:51:27 1984
Date-Received: Mon, 17-Dec-84 04:22:03 EST
References: <249@alberta.UUCP>, <423@gitpyr.UUCP>
Organization: BELLCORE, Murray Hill, NJ
Lines: 16

Yeah, I ran into this once before. Instead of

    int ((*fa)())();

as Robert suggests, try using this

    typedef	int	(*FP)();

    int	f() {}

    FP	fa() { return(f); }

which seems to get by our 4.2 cc. Seems kind of ridiculous to me.

						Ed Sheppard
						Bell Communications Research