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: New style document.
Date Fri, 28 Jun 1996 18:37:54 GMT
Jim Jagielski wrote:
> 
> Ben replied:
> > Jim Jagielski wrote:
> > >
> > > rasmus@madhaus.utcs.utoronto.ca wrote:
> > > >
> > > > > static void
> > > > > usage()
> > > > > {     /* Insert an empty line if the function has no variables. */
> > > >
> > > > This goes against the current vote totals.  According to the vote
> > > > results, it should be:
> > > >
> > > > static void usage () {
> > > >
> > >
> > > Actually, shouldn't it be:
> > >
> > >       static void usage (void) {
> > 
> > Nope.
> > 
> 
> I was refering, of course, to the ANSIism of (void) rather than ().

Ah. Umm, well, I don't care, either way, for the declaration. For a prototype
the void is, of course, essential.

> 
> The style is "wrong" anyway, since, according to what I've seen,
> there's no space between the name and the list.

Yep. Which was why I said nope first time round.

Cheers,

Ben.

> -- 
> Jim Jagielski  << jim@jaguNET.com >>   |      "That's a Smith & Wesson,
>   **  jaguNET Access Services  **      |       and you've had your six" 
>       Email: info@jaguNET.com          |             - James Bond
> ++    http://www.jaguNET.com/         +++      Voice/Fax: 410-931-3157       ++

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

Mime
View raw message