From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <5e15235c79c63fc0cd8429a1095a900e@plan9.bell-labs.com> From: presotto@plan9.bell-labs.com To: 9fans@cse.psu.edu Subject: Re: [9fans] Coding layout query MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-fihqfeiaexdkngymdxdqayryjw" Date: Fri, 8 Mar 2002 08:18:46 -0500 Topicbox-Message-UUID: 61bfe80a-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-fihqfeiaexdkngymdxdqayryjw Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In my case, it makes the non-automatic scanner 'grep ^fn *.c' work. --upas-fihqfeiaexdkngymdxdqayryjw Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Fri Mar 8 05:14:25 EST 2002 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Fri Mar 8 05:14:24 EST 2002 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.6.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 65355199B6; Fri, 8 Mar 2002 05:14:16 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from mercury.bath.ac.uk (mercury.bath.ac.uk [138.38.32.81]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id A32BC199BC for <9fans@cse.psu.edu>; Fri, 8 Mar 2002 05:08:32 -0500 (EST) Received: from news by mercury.bath.ac.uk with local (Exim 3.12 #1) id 16jHAg-0004Yk-00 for 9fans@cse.psu.edu; Fri, 08 Mar 2002 10:00:18 +0000 Received: from GATEWAY by bath.ac.uk with netnews for 9fans@cse.psu.edu (9fans@cse.psu.edu) To: 9fans@cse.psu.edu From: "Thomas Bushnell, BSG" Message-ID: <87r8mwc6bf.fsf@becket.becket.net> Organization: University of California, Irvine Content-Type: text/plain; charset=us-ascii References: <3.0.6.32.20020308114929.009a27f0@pop3.clear.net.nz> Subject: Re: [9fans] Coding layout query Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Fri, 8 Mar 2002 09:59:46 GMT andrew@mbmnz.co.nz (Andrew Simmons) writes: > Not wishing to start a religious debate here, but I notice that in the > Plan9 source code, the return type of a function is placed on a separate > line from the function name when the function is defined: > > int > nurdge(int a) The normal reason for this is that various automatic program scanners will detect this formatting and know that "nurdge" is a function definition. Thomas --upas-fihqfeiaexdkngymdxdqayryjw--