Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site harvard.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!draves From: draves@harvard.ARPA (Richard Draves) Newsgroups: net.lang.c Subject: Function Declarations Message-ID: <213@harvard.ARPA> Date: Wed, 12-Dec-84 17:14:28 EST Article-I.D.: harvard.213 Posted: Wed Dec 12 17:14:28 1984 Date-Received: Fri, 14-Dec-84 05:34:29 EST Distribution: net Organization: Aiken Computation Laboratory, Harvard Lines: 17 Is this a legal function declaration? int (a)(); What about typedef int func(); func main { } The first declaration I believe should be legal, although our 4.2BSD cc does not accept. The second declaration we both dislike. Rich