Received: by taz.hyperreal.com (8.7.6/V2.0) id DAA10877; Tue, 22 Oct 1996 03:01:07 -0700 (PDT) Received: from arachnet.algroup.co.uk by taz.hyperreal.com (8.7.6/V2.0) with SMTP id DAA10871; Tue, 22 Oct 1996 03:01:03 -0700 (PDT) Received: from heap.ben.algroup.co.uk by arachnet.algroup.co.uk id aa26889; 22 Oct 96 11:00 BST Received: from gonzo.ben.algroup.co.uk by heap.ben.algroup.co.uk id aa20205; 22 Oct 96 10:09 BST Subject: Re: Fixing more compiler warnings/prototyping To: new-httpd@hyperreal.com Date: Tue, 22 Oct 1996 10:03:01 +0100 (BST) From: Ben Laurie In-Reply-To: <57pw2bl5p9.fsf@tees.elsevier.co.uk> from "Paul Richards" at Oct 22, 96 10:16:18 am X-Mailer: ELM [version 2.4 PL24 PGP2] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID: <9610221003.aa27065@gonzo.ben.algroup.co.uk> Sender: owner-new-httpd@apache.org Precedence: bulk Reply-To: new-httpd@hyperreal.com Paul Richards wrote: > > Ben Laurie writes: > > > I can give you an example of an unnecessary prototype: for example, you > > prototyped malloc_block() in alloc.c. That isn't needed. > > I disagree. Prototypes should be used for all functions and they > should be in easily found locations such as a header file. What is the point of prototyping a private function in a header? Cheers, Ben. -- Ben Laurie Phone: +44 (181) 994 6435 Freelance Consultant and Fax: +44 (181) 994 6472 Technical Director Email: ben@algroup.co.uk A.L. Digital Ltd, URL: http://www.algroup.co.uk London, England. Apache Group member (http://www.apache.org)