httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <gst...@lyra.org>
Subject Re: cvs commit: apache-2.0/src/lib/apr/include apr_mmap.h
Date Mon, 01 Nov 1999 21:13:57 GMT
On Sun, 31 Oct 1999, Ralf S. Engelschall wrote:
> > Greg Stein wrote:
> >> Could I request that people put the parameter *names* into
> >> the prototypes?
> -0 if the names are just "foo", "bar", etc.  These too often cause conflicts
>    with #defines and prototypes of other functions, etc. (think about a
>    parameter "stat").
> 
> +1 if the names are name-space protected, for instance 
>    with a leading underscore ("_foo", "_bar", etc.)

If the parameter is named "stat", then it will most likely cause problems
in the implementation -- not just the prototype. In other words, I think
it would be unlikely that you'd have issues with parameter names that
conflict with macros.

Cheers,
-g

--
Greg Stein, http://www.lyra.org/



Mime
View raw message