httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: Fixing more compiler warnings/prototyping
Date Tue, 22 Oct 1996 09:03:01 GMT
Paul Richards wrote:
> 
> Ben Laurie <ben@gonzo.ben.algroup.co.uk> 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)

Mime
View raw message