You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@gonzo.ben.algroup.co.uk> on 1996/10/20 18:32:58 UTC
Re: prototyping
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)