[PATCH:xf86-input-keyboard 13/21] Fix a shadowing warning, and add const.

Alan Coopersmith alan.coopersmith at oracle.com
Fri Jul 26 18:02:25 PDT 2013


On 07/26/13 02:24 PM, Thomas Klausner wrote:
> -printWsType(char *type, char *devname)
> +printWsType(const char *type, char *name)
>   {
> -    xf86Msg(X_PROBED, "%s: Keyboard type: %s\n", devname, type);
> +    xf86Msg(X_PROBED, "%s: Keyboard type: %s\n", name, type);
>   }
>   #endif

Any particular reason you only constified type & not name?

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list