[PATCH 14/14] os: Fix -Wshadow warnings

Keith Packard keithp at keithp.com
Sun Dec 29 15:49:12 PST 2013


Adam Jackson <ajax at redhat.com> writes:

> Signed-off-by: Adam Jackson <ajax at redhat.com>

>  static XdmClientAuthPtr
>  XdmAuthorizationValidate(unsigned char *plain, int length,
> -                         XdmAuthKeyPtr rho, ClientPtr xclient,
> +                         XdmAuthKeyPtr _rho, ClientPtr xclient,
>                           const char **reason)
>  {

I made the global one 'global_rho' instead of changing the local rho
names.


>  static void
>  XdmcpSelectHost(const struct sockaddr *host_sockaddr,
> -                int host_len, ARRAY8Ptr AuthenticationName)
> +                int host_len, ARRAY8Ptr authname)

auth_name instead?

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20131229/9d260404/attachment.pgp>


More information about the xorg-devel mailing list