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: prototyping
Date Sun, 20 Oct 1996 16:32:58 GMT
Randy Terbush wrote:
> 
> I was just checking out the current source tree to see how we fair
> with the following compiler flags.
> 
> 
> EXTRA_CFLAGS=-Wall -Wshadow -Wpointer-arith -Wwrite-strings \
> 	-Wstrict-prototypes -Wformat -Wmissing-prototypes \
> 	-Wunsigned-char -Dscanf=DONT_USE_SCANF -Dgets=DONT_USE_GETS -Werror
> 
> 
> What is the proper way to prototype a function which has no arguments?

int some_func(void);

Cheers,

Ben.

> 
> void *?
> 
> 
> 

-- 
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