Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site allegra.UUCP Path: utzoo!linus!decvax!harpo!eagle!allegra!alan From: alan@allegra.UUCP Newsgroups: net.lang.c Subject: Re: Declaring argument types Message-ID: <1821@allegra.UUCP> Date: Tue, 13-Sep-83 15:56:53 EDT Article-I.D.: allegra.1821 Posted: Tue Sep 13 15:56:53 1983 Date-Received: Tue, 13-Sep-83 22:43:20 EDT References: umcp-cs.2330, <312@sun.UUCP> Organization: Bell Labs, Murray Hill Lines: 21 Well, if we want the declaration to be given in the same format as the definition, wouldn't it be better to say extern char *foo(x, p) int x; struct bar *p; than to change the way functions are defined? This would be more difficult to parse, though. You could always say extern char *foo(x, p) int x; struct bar *p; {} to make life easier for yacc. Alan Driscoll Bell Labs, Murray Hill