Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site azure.UUCP Path: utzoo!linus!security!genrad!grkermit!masscomp!clyde!floyd!vax135!cornell!uw-beaver!tektronix!azure!stevesu From: stevesu@azure.UUCP (Steve Summit) Newsgroups: net.unix Subject: Re: functions returning pointers to functions Message-ID: <2446@azure.UUCP> Date: Wed, 14-Dec-83 13:48:10 EST Article-I.D.: azure.2446 Posted: Wed Dec 14 13:48:10 1983 Date-Received: Sat, 17-Dec-83 02:23:53 EST References: <2430@azure.UUCP>, <416@hammer.UUCP> Organization: Tektronix, Beaverton OR Lines: 15 Thanks to those who responded. I now know that the correct declaration is int (*getroutine(name,table))() and not the int (*getroutine))((name,table) that I had been trying to use. The astonishing thing is that the pdp11 compilers I have used (2.8bsd, V7, and sysIII based) accept either declaration and generate identical (working) code. Steve Summit tektronix!tekmdp!stevesu