svn commit: r229986 - head/lib/libutil

Kostik Belousov kostikbel at gmail.com
Thu Jan 12 00:16:35 UTC 2012


On Wed, Jan 11, 2012 at 10:33:41PM +0000, Guy Helmer wrote:
> Author: ghelmer
> Date: Wed Jan 11 22:33:41 2012
> New Revision: 229986
> URL: http://svn.freebsd.org/changeset/base/229986
> 
> Log:
>   Fix namespace issues with prototype parameter names.
>   Add missing prototype parameter names.
>   
>   Requested by bde.
> 
> Modified:
>   head/lib/libutil/libutil.h
> 
> Modified: head/lib/libutil/libutil.h
> ==============================================================================
> --- head/lib/libutil/libutil.h	Wed Jan 11 22:12:45 2012	(r229985)
> +++ head/lib/libutil/libutil.h	Wed Jan 11 22:33:41 2012	(r229986)
> @@ -93,7 +93,7 @@ struct termios;
>  struct winsize;
>  
>  __BEGIN_DECLS
> -char	*auth_getval(const char *name);
> +char	*auth_getval(const char *_name);
The _[a-z].* names are still in the app namespace.

Only _[A-Z].* and __[a-z].* are reserved for the implementation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-head/attachments/20120112/c5344fbb/attachment.pgp


More information about the svn-src-head mailing list